Light and simple to use logger for Node. Inspired by winston and debug.
See the @churchill/core readme.
| 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, ... }) |
Help us improve and be recognised!
AleΕ‘ Menzel π» π |
---|
This project follows the all-contributors specification. Contributions of any kind are welcome!
This package is developed under the MIT licence.