|
Zth (libzth)
|
Functions | |
| void | zth_banner () |
| Prints a banner line with version and configuration information. More... | |
| void | zth_abort (char const *fmt,...) |
| Aborts the process after printing the given printf() formatted message. More... | |
| void | zth_log_color (int color, char const *fmt,...) |
| Logs a given printf()-like formatted string using an ANSI color code. More... | |
| void | zth_log (char const *fmt,...) |
| Logs a given printf()-like formatted string. More... | |
| char const * | zth_version () noexcept |
| Returns the version of Zth. More... | |
| void | zth_logv (char const *fmt, va_list arg) |
| Prints the given printf()-like formatted string to stdout. More... | |
| void zth_abort | ( | char const * | fmt, |
| ... | |||
| ) |
Aborts the process after printing the given printf() formatted message.
This is a C-wrapper for zth::abort().
| void zth_banner | ( | ) |
Prints a banner line with version and configuration information.
This is a C-wrapper for zth::banner().
| void zth_log | ( | char const * | fmt, |
| ... | |||
| ) |
Logs a given printf()-like formatted string.
zth_logv() is used for the actual logging.
This is a C-wrapper for zth::log().
| void zth_log_color | ( | int | color, |
| char const * | fmt, | ||
| ... | |||
| ) |
Logs a given printf()-like formatted string using an ANSI color code.
zth_logv() is used for the actual logging.
This is a C-wrapper for zth::log_color().
| void zth_logv | ( | char const * | fmt, |
| va_list | arg | ||
| ) |
Prints the given printf()-like formatted string to stdout.
This is a weak symbol. Override when required.
Definition at line 20 of file zth_logv.cpp.
|
noexcept |
Returns the version of Zth.
This is a C-wrapper for zth::version().