noinfopath-logger

noInfoPath logger module

Usage no npm install needed!

<script type="module">
  import noinfopathLogger from 'https://cdn.skypack.dev/noinfopath-logger';
</script>

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.