Class: Log

Log


new Log(message, data, int, channel)

Parameters:
Name Type Description
message string
data object | any
int severity standard RFC3164 code (https://tools.ietf.org/html/rfc3164)
channel string

Methods


colored(formatter)

Returns colored log
Parameters:
Name Type Description
formatter string

format(formatter)

Returns formatted log
Parameters:
Name Type Description
formatter string