Logger

api/utils/log~ Logger

new Logger()

Source:

Members

(static) d

Source:

Logging debug level messages

(static) e

Source:

Logging error level messages

(static) i

Source:

Logging information level messages

(static) w

Source:

Logging warning level messages

Methods

(static) callback(nextopt) → {function}

Source:

Logging inside callbacks

Parameters:
Name Type Attributes Description
next function <optional>

next function to call, after callback executed

Returns:

function to pass as callback

Type
function

(static) logdb(opname, nextopt, nextErroropt) → {function}

Source:

Logging database callbacks

Parameters:
Name Type Attributes Description
opname string

name of the performed operation

next function <optional>

next function to call, after callback executed

nextError function <optional>

function to pass error to

Returns:

function to pass as callback

Type
function