logging.JSONLogger
Description
Log values in JSON format.
Constructor
new logging.JSONLogger(name)
Creates an instance of JSONLogger.
Methods
log(...values)
Writes to the log.
toFile(filename)
Adds output to a file.
toHTTP(url, options?)
Adds output to an HTTP endpoint.
toStderr()
Adds output to the standard error.
toStdout()
Adds output to the standard output.
toSyslog(priority?)
Adds output to the Syslog.