-
Notifications
You must be signed in to change notification settings - Fork 3
Advanced Features
logme includes a set of features designed for real-world production usage.
logme allows limiting how often messages appear.
Examples:
- log once
- log every N times
This is useful in hot paths to reduce log noise.
log messages can be captured before full configuration is loaded.
This helps diagnose startup issues that would otherwise be lost.
Before formatting and argument evaluation, logme performs a lightweight check.
If logging is disabled:
- formatting is skipped
- arguments are not evaluated
This minimizes overhead in performance-critical code.
Logging behavior can be changed without restarting the application.
This includes:
- enabling/disabling channels
- changing levels
- adding backends
logme supports obfuscation of sensitive data in logs.
This allows using logs in environments where security matters.
These features are designed to make logging usable in production systems, not just during development.
logme — flexible runtime logging system
Home · Getting Started · Architecture · Output · Backends · Configuration
GitHub: https://github.com/efmsoft/logme
- Home
- Getting Started
- Why logme?
- Core Concepts
- Logging Macros
- Fatal Handling
- Crash Logging
- glog Compatibility
- C API
- Choosing Logging Macros
- Function tracing
- Trace Points
- Override Scopes
- Advanced Features
- Collapse Logging
- Feature Map
- Overview
- Console Backend
- Debugger Backend
- File Backend
- File Rotation & Retention
- Buffer Backend
- Ring Buffer Backend
- SharedFile Backend
- Callback Backend
- Windows Event Log Backend
- Custom Backends
- Runtime Control
- Configuration
- Configuration JSON
- Control Server
- Environment Control
- Control Policies
- Trace Points
- Message Filtering