1.4.0 • Published 1 year ago

@flexent/logger v1.4.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Logger

Simple and minimalistic logger interface and implementation.

Highlights

  • 🔥 Zero dependencies
  • 🗜 Tidy and compact
  • 💻 Works in browser
  • 📦 Console and Logfmt implementations in the box

Usage

const logger = new ConsoleLogger();
// Logs with level "below" warn (debug, info) will not be emitted
logger.level = 'warn';
logger.info('Something happened, nothing to see here');
logger.warn('User account has been suspended', { accountId: '123' });
1.2.3

2 years ago

1.4.0

1 year ago

1.2.2

2 years ago

1.3.0

1 year ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago