@noinfopath/noinfopath-logger
v1.0.1
Published
noInfoPath logger module
Downloads
3
Readme
getLog
Usage
getLog();
Returns
| Type | Description | | :--: | :--: | | array | _log Returns parsed and filtered log message. |
read
Usage
read();
Returns
| Type | Description | | :--: | :--: | | array | Returns a referrence to the log. |
write
Takes in message. If an object or array, then it is parsed as a JSON string. Then passed to default logging servie.
Usage
write(msg);
Arguments
| Param | Type | Details | | :--: | :--: | :--: | | msg | object | A String, object, or array will be passed in for logging. |