ColorPrinters
Utility class for displaying colored text in console
Static Method Summary
Static Public Methods | ||
public static |
blue(args: *) Blue colored console.log |
|
public static |
boldBlueGreen(bb: *, rest: *) Bold blue first arg, green rest |
|
public static |
bred(args: *) Bright red colored console.log |
|
public static |
configError(m: *, config: *) Display message about how the crawl config is broke |
|
public static |
crawlerOpt(f: *, r: *) Display an crawler option ack |
|
public static |
cyan(args: *) Cyan colored console.log |
|
public static |
Display an error message and pretty print the exception |
|
public static |
green(args: *) Green colored console.log |
|
public static |
magenta(args: *) Magenta colored console.log |
|
public static |
red(args: *) Red colored console.log |
|
public static |
yellow(args: *) Yellow colored console.log |
Static Public Methods
public static blue(args: *) source
Blue colored console.log
Params:
Name | Type | Attribute | Description |
args | * |
public static boldBlueGreen(bb: *, rest: *) source
Bold blue first arg, green rest
Params:
Name | Type | Attribute | Description |
bb | * | ||
rest | * |
public static bred(args: *) source
Bright red colored console.log
Params:
Name | Type | Attribute | Description |
args | * |
public static configError(m: *, config: *) source
Display message about how the crawl config is broke
Params:
Name | Type | Attribute | Description |
m | * | ||
config | * |
public static crawlerOpt(f: *, r: *) source
Display an crawler option ack
Params:
Name | Type | Attribute | Description |
f | * | ||
r | * |
public static cyan(args: *) source
Cyan colored console.log
Params:
Name | Type | Attribute | Description |
args | * |
public static error(m: string, error: Error) source
Display an error message and pretty print the exception
public static green(args: *) source
Green colored console.log
Params:
Name | Type | Attribute | Description |
args | * |
public static magenta(args: *) source
Magenta colored console.log
Params:
Name | Type | Attribute | Description |
args | * |
public static red(args: *) source
Red colored console.log
Params:
Name | Type | Attribute | Description |
args | * |
public static yellow(args: *) source
Yellow colored console.log
Params:
Name | Type | Attribute | Description |
args | * |