Skip to content

Simple logging wrapper of the ostrio:logger packages.

License

Notifications You must be signed in to change notification settings

Xerdi/meteor-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Meteor Logging

Simple logging wrapper of the ostrio:logger packages.

Installation

Add the package to your project:

meteor add xerdi:logging

Usage

The interface is the same as of the ostrio:logger's interface.

import log from 'meteor/xerdi:logging';
// OR
import {log} from 'meteor/xerdi:logging';

function launchMissile(dir) {
    log.info(`Launching missile in direction ${dir}`);
    try {
        // The code
    } catch(err) {
        log.error('Failed to launch missile', err);
    }
}

About

Simple logging wrapper of the ostrio:logger packages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published