- Source:
Methods
(static) log(msg, startn, endn)
Log a message
Parameters:
Name | Type | Description |
---|---|---|
msg |
string | message to log |
startn |
boolean | add a leading newline? |
endn |
boolean | add a trailing newline? |
- Source:
(static) set_err(f)
Set the err function hook
Parameters:
Name | Type | Description |
---|---|---|
f |
function | function to execute |
- Source:
(static) set_log(f)
Set the log function hook
Parameters:
Name | Type | Description |
---|---|---|
f |
function | function to execute |
- Source: