CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
log.h
Go to the documentation of this file.
1#pragma once
2
5
12
13#include <cx/log/log.h>
14#include <cx/log/logconsole.h>
15#include <cx/log/logctx.h>
16#include <cx/log/logfile.h>
17#include <cx/log/logforward.h>
18#include <cx/log/loggroup.h>
19#include <cx/log/logmembuf.h>
20#include <cx/log/logring.h>
22#include <cx/log/logvolume.h>
23#include <cx/log/logwire.h>
24
Core logging system API.
Console-based log destination with level coloring.
Per-thread log context: fields every record on this thread inherits.
File-based log destination with rotation support.
Forwarding log records to another instance.
Drain groups: which thread does a destination's work.
Memory buffer log destination for testing and debugging.
Bounded retention rings: the boot window, and the retroactive debug ring.
Log record serializers, independent of where the result is written.
Volume control: what happens when there is too much to log.
Wire codec for log records: records in, framed bytes out, and back again.