Skip to content

bonbonez/isomorphic-logger

Repository files navigation

Isomorphic Logger

Isomorphic logger with modular structure

Example of server-side logger instantiation:

import {
  Logger,
  extractStackTrace,
  createInspector,
  createHighlighter,
  writeToConsole
} from '@grabrinc/isomorphic-logger/server';

const logger = new Logger;

logger.channel(
  extractStackTrace,
  createInspector(),
  createHighlighter(),
  writeToConsole
);

About

Isomorphic logger

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published