Log Factory
Provides a collection of functions that can be used to create loggers. These functions are available under the `convenienceApi.logFactory` namespace.
Methods
- getLogger(id) ⇒
Logger
- Returns an instance of a logger. This logger contains methods to facilitate logging, including
debug
, warn
, and error
.
Properties Details
getLogger(id) ⇒ Logger
Returns an instance of a logger. This logger contains methods to facilitate logging, including debug
, warn
, and error
.
Returns: Logger
- An instance of logger.
Param |
Type |
Description |
id |
String
|
This value gets echoed as a prefix on all logging done by the resultant logging object. |