.NET Based OPC UA Client/Server SDK
2.6.6.478
|
Defines functions used to write trace output. More...
Static Public Member Functions | |
static List< TraceEntry > | GetKnownModules () |
Gets the known trace modules. More... | |
static int | InitializeModule (Type traceClass, string moduleName) |
Called to initialize trace for the specified module name. More... | |
static void | SetModuleTraceLevel (string moduleName, TraceLevel level) |
Called to set the trace level for the specified module name. More... | |
static void | AddListener (ITraceListener listener) |
Adds a trace listener. More... | |
static void | RemoveListener (ITraceListener listener) |
Removes a trace listener. More... | |
static void | Close () |
Closes all listeners. More... | |
static void | Output (int moduleId, TraceLevel level, string message, params object[] args) |
Outputs a trace message. More... | |
static void | Output (int moduleId, TraceLevel level, uint status, string message, params object[] args) |
Outputs a trace message with a status code. More... | |
static void | Output (int moduleId, TraceLevel level, StatusCode status) |
Outputs a trace message with an exception. More... | |
static void | Output (int moduleId, TraceLevel level, Exception e, string message, params object[] args) |
Outputs a trace message with an exception. More... | |
static void | Output (int moduleId, TraceLevel level, TraceBlock block) |
Outputs a trace message. More... | |
static void | ApplyGlobalSettings (UaSchema.TraceSettings settings, bool onlyAllowExplicitCalls) |
Applies the trace settings which are used by ALL ApplicationInstances in a single process. More... | |
Properties | |
static TraceLevel | DefaultLevel [get, set] |
The default trace level. More... | |
Defines functions used to write trace output.
|
inlinestatic |
Adds a trace listener.
You should only call this method after ApplicationInstance.Start is called if TraceSettings.MasterTraceEnabled is 'true'
listener | The listener to add. |
|
inlinestatic |
Applies the trace settings which are used by ALL ApplicationInstances in a single process.
settings | The settings. |
onlyAllowExplicitCalls | if set to true the other calls to this function are ignored unless onlyAllowExplicitCalls is true. |
|
inlinestatic |
Closes all listeners.
|
inlinestatic |
Gets the known trace modules.
|
inlinestatic |
Called to initialize trace for the specified module name.
traceClass | The trace class. |
moduleName | The name of the module. |
|
inlinestatic |
Outputs a trace message.
moduleId | The module id. |
level | The trace level. |
message | The message. |
args | The args. |
|
inlinestatic |
Outputs a trace message with a status code.
moduleId | The module id. |
level | The trace level. |
status | The status. |
message | The message. |
args | Additional arguments used to format the message. |
|
inlinestatic |
Outputs a trace message with an exception.
moduleId | The module id. |
level | The trace level. |
status | The status. |
|
inlinestatic |
Outputs a trace message with an exception.
moduleId | The module id. |
level | The trace level. |
e | The exception. |
message | The message. |
args | Additional arguments used to format the message. |
|
inlinestatic |
Outputs a trace message.
moduleId | The module id. |
level | The trace level. |
block | The block. |
|
inlinestatic |
Removes a trace listener.
listener | The listener to remove. |
|
inlinestatic |
Called to set the trace level for the specified module name.
moduleName | Name of the module. |
level | The level. |
|
staticgetset |
The default trace level.