#include <stdio.h>#include <stdarg.h>#include <iostream>Namespaces | |
| namespace | Wt |
Classes | |
| class | Wt::Trace |
| class | Wt::Trace::Stream |
Defines | |
| #define | SEPARATOR "----------------------------------------------------------------\n" |
| #define | SEPARATOR2 "================================================================\n" |
| #define | SEPARATOR3 "****************************************************************\n" |
| #define | WARNPREFIX "Warning:[%s:%u]:" |
| #define | ERRORPREFIX "ERROR:[%s:%u]:" |
| #define | __STDERR_PRINT(PREFIX) |
| #define | Warn __STDERR_PRINT(WARNPREFIX) |
| #define | Error __STDERR_PRINT(ERRORPREFIX) |
| #define | enableTrace(RELAY) |
| #define | disableTrace(RELAY) |
| #define | isTrace(RELAY) 0 |
| #define | trace getTrace(__FILE__, __LINE__) |
Functions | |
| static int | Wt::stderr_print (const char *msg,...) |
| static void | Wt::do_nothing (const char *relay, const char *msg,...) |
| static Trace & | Wt::getTrace (const char *filename, int line) |
| #define __STDERR_PRINT | ( | PREFIX | ) |
Value:
( ! fprintf(stderr, PREFIX, __FILE__, __LINE__) ) ? (0) : \
Wt::stderr_print
| #define disableTrace | ( | RELAY | ) |
| #define enableTrace | ( | RELAY | ) |
| #define Error __STDERR_PRINT(ERRORPREFIX) |
| #define ERRORPREFIX "ERROR:[%s:%u]:" |
| #define isTrace | ( | RELAY | ) | 0 |
| #define SEPARATOR "----------------------------------------------------------------\n" |
| #define SEPARATOR2 "================================================================\n" |
| #define SEPARATOR3 "****************************************************************\n" |
| #define trace getTrace(__FILE__, __LINE__) |
| #define Warn __STDERR_PRINT(WARNPREFIX) |
| #define WARNPREFIX "Warning:[%s:%u]:" |
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.