CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
logmembuf.h File Reference

Memory buffer log destination for testing and debugging. More...

#include <cx/log/log.h>

Go to the source code of this file.

Data Structures

struct  LogMembufData
 

Typedefs

typedef struct LogMembufData LogMembufData
 

Functions

LogMembufDatalogmembufCreate (uint32 size)
 
LogDest * logmembufRegister (int maxlevel, LogCategory *catfilter, LogMembufData *membuf)
 
LogDest * logmembufRegisterWithDefer (int maxlevel, LogCategory *catfilter, LogMembufData *membuf, LogDest *deferdest)
 
void logmembufMsgFunc (int level, LogCategory *cat, int64 timestamp, strref msg, uint32 batchid, void *userdata)
 
void logmembufCloseFunc (void *userdata)
 

Detailed Description

Memory buffer log destination for testing and debugging.

Definition in file logmembuf.h.