Lib
QOLを高める
|
Debug utilities. More...
Go to the source code of this file.
Classes | |
class | yappy::debug::StopWatch |
Stop watch utility for performance measurement. More... | |
Namespaces | |
yappy | |
yappy::debug | |
Debug utilities. | |
yappy::trace | |
On memory fast logging. | |
Macros | |
#define | STR2WSTR0(s) L ## s |
#define | STR2WSTR(s) STR2WSTR0(s) |
#define | ASSERT(x) |
Assertion which uses debug framework. More... | |
#define | ASSERT0(x, msg, sig, file, line) |
Functions | |
bool | yappy::debug::enableDebugOutput () noexcept |
Enables writing to OutputDebugString(). More... | |
bool | yappy::debug::enableConsoleOutput () noexcept |
Shows a console window and enables writing to it. More... | |
bool | yappy::debug::enableFileOutput (const wchar_t *fileName) noexcept |
Enables writing to a file. More... | |
void | yappy::debug::shutdownDebugOutput () noexcept |
Flush buffers and free resources. More... | |
void | yappy::debug::write (const wchar_t *str, bool newline=false) noexcept |
Write debug string. More... | |
void | yappy::debug::write (const char *str, bool newline=false) noexcept |
Write debug string. More... | |
void | yappy::debug::writeLine (const wchar_t *str=L"") noexcept |
Write debug string and new line. More... | |
void | yappy::debug::writeLine (const char *str) noexcept |
Write debug string and new line. More... | |
void | yappy::debug::writef (const wchar_t *fmt,...) noexcept |
Write debug message using format string like printf. More... | |
void | yappy::debug::writef (const char *fmt,...) noexcept |
Write debug message using format string like printf. More... | |
void | yappy::debug::writef_nonl (const wchar_t *fmt,...) noexcept |
Write debug message using format string like printf. (No new line) More... | |
void | yappy::debug::writef_nonl (const char *fmt,...) noexcept |
Write debug message using format string like printf. (No new line) More... | |
void | yappy::trace::initialize (size_t bufsize=1024 *1024) |
Initialize trace buffer. More... | |
void | yappy::trace::output () |
Output to a temporary file and open it with notepad. More... | |
void | yappy::trace::write (const char *str) |
Write string to buffer. More... | |
Debug utilities.
Definition in file debug.h.
#define ASSERT | ( | x | ) |
#define ASSERT0 | ( | x, | |
msg, | |||
sig, | |||
file, | |||
line | |||
) |