Skip to content

Logger package for Kuzzle backend, JS SDK, and any related module (like gateways).

License

Notifications You must be signed in to change notification settings

kuzzleio/kuzzle-logger

Repository files navigation

Kuzzle Logger

Node.js CI npm version License

A powerful and flexible logging package designed for Kuzzle backend, JS SDK, and related modules (like gateways). Built on top of Pino, it provides a robust logging solution with multiple transport options and preset configurations.

Features

  • 🚀 High-performance logging with minimal overhead
  • 📦 Multiple transport options (Console, Elasticsearch, Loki)
  • 🎨 Customizable log formats and levels
  • 🔧 Pre-configured presets for common use cases
  • 🔄 TypeScript support
  • 🎯 Zero configuration needed to get started

Installation

npm install kuzzle-logger

Quick Start

const { KuzzleLogger } = require('kuzzle-logger');

const logger = new KuzzleLogger();

logger.info('Hello, Kuzzle Logger!');
logger.error('Something went wrong', { error: new Error('Oops!') });

Documentation

For detailed information about using Kuzzle Logger, please refer to our documentation:

Contributing

We love contributions! If you'd like to contribute, please feel free to submit a PR.

Support

If you have any questions or encounter issues, please:

License

This project is released under the Apache 2.0 License.

About

Logger package for Kuzzle backend, JS SDK, and any related module (like gateways).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •