Have ideas to improve npm?Join in the discussion! »

    @noinfopath/noinfopath-logger

    1.0.1 • Public • Published

    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.

    Keywords

    none

    Install

    npm i @noinfopath/noinfopath-logger

    DownloadsWeekly Downloads

    17

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • avatar