ConsoleLogger ( API)

Overview - Common API - Client API - Admin API - Runtime API

ConsoleLogger

A functional logger implementation that simply writes to the console.

Details

  • Module

See also

Method Summary

Name Returns Description
format string Called to format.
log void Called to log.

Method Details

format

string format( string method, string msg, [ args] )

Called to format.

Returns

string - The formatted message.

Parameters

Name Type Optional Description
method string false The method.
msg string false The message.
args true The arguments.

log

void log( string level, string method, string msg, [ args] )

Called to log.

Parameters

Name Type Optional Description
level string false The logging level.
method string false The method.
msg string false The message.
args true The arguments.