-
Notifications
You must be signed in to change notification settings - Fork 42
Features
Matt Hicks edited this page Nov 4, 2020
·
14 revisions
- Written from scratch in pure Scala
- Fastest logging library for the JVM (see: https://github.com/outr/scribe/wiki/benchmarks)
- Beautiful, rich output to consoles that support it:
- Platform-specific colored output for ANSI, ASCII, and even browser-based rich output
- Programmatic configuration to integrate easily with existing config files
- Hot-change capabilities to modify how logging works in real-time
- Asynchronous logger to provide nearly zero-impact logging
- Lazily evaluated log messages that are only evaluated if written to output
- Pure Scala SLF4J implementation
- MDC support to log additional information with each log output
- MDC compliance with SLF4J
- MDC.global to support global values assigned to all logging
- Simple and convenient formatter creation via interpolation:
formatter"$date [$threadNameAbbreviated] $level $position - $message$mdc"
- Zero-cost tracing (include class, method, and line number) generated at compile-time
- Zero-import logging:
scribe.info("No imports necessary")
- Scala.js and ScalaNative support
- Scala 2.11, 2.12, 2.13, and Dotty support
- Migration library to support importing existing configuration files for other logging systems
- Slack logging module
- Logstash logging module
- Simple timing functionality with elapsed:
scribe.elapsed { ... logging statements include MDC values for elapsed time ... }