new Logger()
LOG wrapper for SelBlocks-specific behavior
Methods
debug()
Log at debug level.
descCaller()
Describe the calling function.
error()
Log an error.
genStackTrace(erropt) → {Array}
Generate stack trace.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
err |
Error | undefined |
<optional> |
Returns:
- Type
- Array
info()
Log at info level.
logit()
Log at given level.
logStackTrace(erropt)
Log stack trace.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
err |
Error | undefined |
<optional> |
warn()
Log a warning.