All Projects → Rosettea → Loggaby

Rosettea / Loggaby

Licence: MIT license
📝 A simple, lightweight and customizable logger.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Loggaby

Quill
Asynchronous Low Latency C++ Logging Library
Stars: ✭ 422 (+2010%)
Mutual labels:  logger, logging-library
LogDNA-Android-Client
Android client for LogDNA
Stars: ✭ 22 (+10%)
Mutual labels:  logger, logging-library
Izumi
Productivity-oriented collection of lightweight fancy stuff for Scala toolchain
Stars: ✭ 423 (+2015%)
Mutual labels:  logger, logging-library
beautiful logger
Yet another logger API in Java with beautiful features
Stars: ✭ 60 (+200%)
Mutual labels:  logger, logging-library
ratlog.js
🐀 Ratlog JavaScript library - Application Logging for Rats, Humans and Machines
Stars: ✭ 24 (+20%)
Mutual labels:  logger, logging-library
Tinylog
tinylog is a lightweight logging framework for Java, Kotlin, Scala, and Android
Stars: ✭ 360 (+1700%)
Mutual labels:  logger, logging-library
Timber Elixir
🌲 Great Elixir logging made easy
Stars: ✭ 226 (+1030%)
Mutual labels:  logger, logging-library
Woodlot
An all-in-one JSON logging utility that supports ExpressJS HTTP logging, custom logging, provides multi-format output and an easy to use events API.
Stars: ✭ 263 (+1215%)
Mutual labels:  logger, logging-library
clue
a extremely high performance log library for android. 高性能的Android日志库
Stars: ✭ 27 (+35%)
Mutual labels:  logger, logging-library
RxLogs
An Android & Kotlin Reactive Advanced Logging Framework.
Stars: ✭ 12 (-40%)
Mutual labels:  logger, logging-library
Simple-Log
dnkpp.github.io/Simple-Log/
Stars: ✭ 13 (-35%)
Mutual labels:  logger, logging-library
l
Cross-platform html/io [L]ogger with simple API.
Stars: ✭ 26 (+30%)
Mutual labels:  logger, logging-library
Electron Timber
Pretty logger for Electron apps
Stars: ✭ 337 (+1585%)
Mutual labels:  logger, logging-library
Cocoadebug
iOS Debugging Tool 🚀
Stars: ✭ 3,769 (+18745%)
Mutual labels:  logger, logging-library
Tslog
📝 tslog - Expressive TypeScript Logger for Node.js.
Stars: ✭ 321 (+1505%)
Mutual labels:  logger, logging-library
Ring Log
Ring-Log是一个高效简洁的C++异步日志, 其特点是效率高(每秒支持至少125万+日志写入)、易拓展,尤其适用于频繁写日志的场景
Stars: ✭ 201 (+905%)
Mutual labels:  logger, logging-library
winston-telegram
A Telegram transport for winston
Stars: ✭ 28 (+40%)
Mutual labels:  logger, logging-library
Go Logger
Simple logger for Go programs. Allows custom formats for messages.
Stars: ✭ 261 (+1205%)
Mutual labels:  logger, logging-library
JJSwiftLog
Swift log library for all platform
Stars: ✭ 51 (+155%)
Mutual labels:  logger, logging-library
noodlog
🍜 Parametrized JSON logging library in Golang which lets you obfuscate sensitive data and marshal any kind of content.
Stars: ✭ 42 (+110%)
Mutual labels:  logger, logging-library

Loggaby

📝 A simple, lightweight and customizable logger.

GitHub license GitHub stars
Loggaby is the simple, lightweight and minimal logger.
It has 1 goal and strives for it well: Posting nice looking logs to your terminal (or wherever you want, see the examples for details)

Preview
How the default log format looks.

PS: It's also customizable (highly so)! From how it looks, to the log destination.
Preview

Table of Contents

Install

npm install loggaby

Or with Yarn:
yarn add loggaby

Examples

Provided Here.

Documentation

new Loggaby(options)

The Loggaby constructor, which creates a new Loggaby instance.

  • options {Object}
    • debug {Boolean | String} Whether to print debug messages. Can be a boolean or 'auto'. (Default: true)
    • format {String} Format for how logs should look (Default: '{grey}{time}{reset} {level} > ')
    • levels {Object[]} Additional custom levels to provide.
      • name {String} Name of the level that appears in the logs.
      • color {String} Color of the level name. Accepted values are a hex value or named colors.
      • debug {Boolean} Whether this level will be hidden when options.debug is false.
      • fatal {Boolean} Whether to make the level name and message bold and underline (to be noticeable).
      • call {String} Name of the function to use this level.
    • transports {Object[]} (An array of objects or specifically transport instances) What transports to log to. An example is provided above. (Default: [TerminalTransport])

Default Levels

debug, log, warn, error and fatal
You can log with Loggaby.<Level>().

License

Loggaby is licensed under the MIT license.
Read here for more info.


A Rosettea project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].