Skip to content

The Pagedip logging library extracted as a code test.

Notifications You must be signed in to change notification settings

BeneathTheInk/code-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logger

Build Status

This is the Pagedip logging library. This works in both browsers and Node.js and has an API that is similar to console.

const logger = new Logger("my-logger");

// log
logger.debug("Debug message");
logger.info("Info message");
logger.warn("Warning message");
logger.error("Error message");

// log level
logger.setLogLevel("debug");
logger.atLogLevel("debug"); // true

About

The Pagedip logging library extracted as a code test.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published