Lib
QOLを高める
Functions
yappy::trace Namespace Reference

On memory fast logging. More...

Functions

void initialize (size_t bufsize=1024 *1024)
 Initialize trace buffer. More...
 
void output ()
 Output to a temporary file and open it with notepad. More...
 
void write (const char *str)
 Write string to buffer. More...
 

Detailed Description

On memory fast logging.

Function Documentation

void yappy::trace::initialize ( size_t  bufsize = 1024 *1024)

Initialize trace buffer.

Parameters
[in]bufsizeMemory size. It should be page size (4KiB) align.

Definition at line 179 of file debug.cpp.

void yappy::trace::output ( )

Output to a temporary file and open it with notepad.

Definition at line 190 of file debug.cpp.

void yappy::trace::write ( const char *  str)

Write string to buffer.

String will be logged with current time.

Parameters
[in]strString to be written.

Definition at line 240 of file debug.cpp.