High-performance & Comprehensive logging
Trinity Observability.
Less searches.
Bitryon Logger is a lightweight logging library to unify logging, tracing, and workflow without writing any logs.
Why Bitryon Logger?
Easy by default
Write logs without writing logs, non-invasive
Structured output
Confige-based output with sanitizer
Unified view
Log trace workflow trinity observability
A first example
Create a logger and write logs without writing logs:
import io.bitryon.logger.annotation.Logging;
@Service
public class MedicService {
@Logging // just need to annotate class or method
public List query(String sessionId, Page page){
return null;
}
}
TipAlso support traditional logging, explore examples on GitHub.
How it works
| Steps | Responsibility |
|---|---|
| 1. Maven | Introduce libraries in java or spring project. |
| 2. Java or Spring | Annotate methods or classes with @Logging; Or the traditional way: logger.log("I'm a text") |
| 3. Configuration | Configurate sanitizers and app node under bitryon.logger/app-node in application.yml. |
| 4. Load | Load logger and components to pass around trace id across services. |
| 5. Launch | Launch your java/spring application to see logs written. |