-
Notifications
You must be signed in to change notification settings - Fork 3
Examples DumpBuffer
Eduard Mishkurov edited this page Apr 7, 2026
·
7 revisions
This example shows how to dump a binary buffer as text.
- Building a small buffer with printable and non-printable bytes
- Converting the dump to a string with
Logme::DumpBuffer(...) - C-style logging with
%sand.c_str() -
std::format-style logging when it is enabled - Using different offsets and line limits
- The example logs to the default channel and does not configure any custom channels.
- Each dump is preceded by a short description of the format and the selected offset/limit.
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