|
static void | setTraceActive (bool isActive) |
| Sets Trace to active. More...
|
|
static void | setStackTraceActive (bool isActive, OpcUa_UInt32 uTraceLevel) |
| Sets the stack Trace to active. More...
|
|
static bool | isTraceActive () |
| Get trace active state for opc library. More...
|
|
static void | sError (int nModule, const char *fmt,...) |
| Special error trace that is sent to file trace if s_isTraceActive is set. More...
|
|
static void | sWarning (int nModule, const char *fmt,...) |
| Special error trace that is sent to file trace if s_isTraceActive is set. More...
|
|
static void | sInfo (int nModule, const char *fmt,...) |
| A Infotrace for the output. More...
|
|
static void | sIfCall (int nModule, const char *fmt,...) |
| Special error trace that is sent to file trace if s_isTraceActive is set. More...
|
|
static void | sCtor (int nModule, const char *fmt,...) |
| A Trace for Method incomming or outgoing. More...
|
|
static void | sInOut (int nModule, const char *fmt,...) |
| Special error trace that is sent to file trace if s_isTraceActive is set. More...
|
|
static void | sData (int nModule, const char *fmt,...) |
| A Datatrace for the output. More...
|
|
static long | initTrace (TraceLevel traceLevel, unsigned int maxTraceEntries, unsigned int NumBackupFiles, const UaString &traceFile, const UaString &appName) |
| Initialize the trace. More...
|
|
static long | changeTrace (TraceLevel traceLevel, unsigned int maxTraceEntries, unsigned int NumBackupFiles, const UaString &traceFile) |
| Change the trace settings. More...
|
|
static long | initErrorTrace (const UaString &traceFile, const UaString &appName) |
| Initialize the trace. More...
|
|
static void | setPreFileTrace (bool isActive, TraceLevel traceLevel) |
| Provides a string buffer trace before a trace file is created. More...
|
|
static long | setProductVersion (const UaString &appVersion) |
| Get the trace level. More...
|
|
static TraceLevel | getTraceLevel () |
| Get the trace level. More...
|
|
static void | setLocalTimeOutput (bool isLocal) |
| Set time output for trace to local time. More...
|
|
static void | setPrintDateInTrace (bool printDateInTrace) |
| Set time output for trace to print also the date. More...
|
|
static void | setTraceHook (UaTraceHook *pTraceHook) |
| Set a trace hook for all trace messages passing the configured trace level. More...
|
|
static void | setErrorTraceHook (UaTraceHook *pErrorTraceHook) |
| Set a trace hook for all error, warning and info trace messages. More...
|
|
static void | tError (const char *fmt,...) |
| Error trace output. More...
|
|
static void | tWarning (const char *fmt,...) |
| Warning trace output. More...
|
|
static void | tInfo (const char *fmt,...) |
| Info trace output. More...
|
|
static void | tIfCall (const char *fmt,...) |
| External interface call trace output. More...
|
|
static void | tCtor (const char *fmt,...) |
| Ctor and Dtor trace output. More...
|
|
static void | tInOut (const char *fmt,...) |
| Program flow trace output. More...
|
|
static void | tData (const char *fmt,...) |
| Data trace output. More...
|
|
static void | flushTrace () |
| Write any data from the file buffer to the physical file. More...
|
|
static void | closeTrace () |
| Close trace file. More...
|
|
static bool | isInitialized () |
| Returns the information if the trace is already initialized.
|
|
static std::list< UaString > | getPreFileTraces () |
| Returns the list of pre file trace outputs.
|
|
static void | clearPreFileTraces () |
| Clear the list of pre file trace outputs.
|
|
static void | setMaxPreFileTraceEntries (unsigned int nMaxPreFileTraceEntries) |
| Returns the list of pre file trace outputs. More...
|
|
SrvT.
Class definition of SrvT. Derived from UaTrace. Provides a set of methods and properties that help you trace the execution of your code. You can use the properties and methods in the Trace class to instrument release builds. Instrumentation allows you to monitor the health of your application running in real-life settings. Tracing helps you isolate problems and fix them without disturbing a running system.