![]() |
Vireo
1.0
Compact runtime for Virtual Instruments
|
A Class to collect trace, warning and error events when processing a data set. More...
#include <EventLog.h>
Public Types | |
| enum | EventSeverity { kTrace = 0, kWarning = 1, kSoftDataError = 2, kHardDataError = 3, kAssertFailure = 4 } |
Public Member Functions | |
| EventLog (StringRef stringRef) | |
| Int32 | TotalErrorCount () |
| Int32 | HardErrorCount () |
| void | LogEventV (EventSeverity severity, Int32 lineNumber, const char *message, va_list args) |
| void | LogEvent (EventSeverity severity, Int32 lineNumber, const char *message,...) |
| void | LogEventCore (EventSeverity severity, Int32 lineNumber, const char *message) |
Static Public Attributes | |
| static StringRef | DevNull = (StringRef) null |
| Special string instance for constructor to skip all messages (counts still tallied) | |
| static StringRef | StdOut = (StringRef) 1 |
| Special string instance for constructor to direct messages to stdout. | |
Private Attributes | |
| StringRef | _errorLog |
| Int32 | _softErrorCount |
| Int32 | _hardErrorCount |
| Int32 | _warningCount |
A Class to collect trace, warning and error events when processing a data set.
1.8.6