alesmenzel / churchill

Node logging utility πŸŒ‹

Home Page:https://github.com/alesmenzel/churchill

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Churchill's logo

Churchill

Light and simple to use logger for Node. Inspired by winston and debug.

churchill logger

Installation

See the @churchill/core readme.

Transports

| Transport is a destination, where you can store your logs.

This is the list of currently supported transports. Check the examples folder to see their usage.

| Note you must install the transports separately

Name Description Example
Console Log to console Console.create({ ... })
File Log to a file File.create({ filename: "error.log", level: "error", ... })
Stream Log to any arbitrary stream. Stream.create({ stream: <Stream> })
HTTP Log to a HTTP stream. HTTP.create({ path: "https://domain.com/path" })
Elastic Log to an elasticsearch index. Elastic.create({ node: "http://localhost:9200", index: "logs", ... })
Socket* (*Not Implemented Yet) Log to a socket Socket.create({ host: "127.0.0.1", port: 1337, ... })

Contributors

Help us improve and be recognised!


AleΕ‘ Menzel

πŸ’» πŸ“–

This project follows the all-contributors specification. Contributions of any kind are welcome!

License

This package is developed under the MIT licence.

About

Node logging utility πŸŒ‹

https://github.com/alesmenzel/churchill

License:MIT License


Languages

Language:JavaScript 100.0%