Class: Logger

selblocks.Logger

new Logger()

LOG wrapper for SelBlocks-specific behavior
Source:

Methods

debug()

Log at debug level.
Source:

descCaller()

Describe the calling function.
Source:

error()

Log an error.
Source:

genStackTrace(erropt) → {Array}

Generate stack trace.
Parameters:
Name Type Attributes Description
err Error | undefined <optional>
Source:
Returns:
Type
Array

info()

Log at info level.
Source:

logit()

Log at given level.
Source:

logStackTrace(erropt)

Log stack trace.
Parameters:
Name Type Attributes Description
err Error | undefined <optional>
Source:

warn()

Log a warning.
Source: