How aaronzhouciph/ulog works
uLog is a small embedded C logging library. Applications initialize it, register callbacks with severity thresholds, and submit formatted messages; uLog filters and formats each message before dispatching it to eligible callbacks. The README also describes console, file, and memory-buffer outputs as user-provided callbacks, not built-in sinks. The runtime source is sampled; these documented integrations remain external to the repository.
Main entry points: ulog.h Public API · ulog.c Format and Dispatch
Components 8
Logging API
- Public API
src/ulog.h
Logging Runtime
- Subscriber Management
src/ulog.c - Format and Dispatch
src/ulog.c
Other components
- Application
- User Callback
- Console Output
- File Output
- Memory Buffer
Connections 8
- Application → Public API: logs and configures
README.md - Public API → Subscriber Management: calls management
src/ulog.h - Public API → Format and Dispatch: calls logging
src/ulog.h - Subscriber Management → Format and Dispatch: sets dispatch thresholds
src/ulog.c - Format and Dispatch → User Callback: dispatches message
src/ulog.c - User Callback → Console Output: may write to
README.md - User Callback → File Output: may write to
README.md - User Callback → Memory Buffer: may write to
README.md