OpenTAP 9.34
API Reference
OpenTap.Diagnostic.ILog Interface Reference

Log source interface. Instances of this are always created by a corresponding ILogContext. More...

Public Member Functions

void LogEvent (int EventType, string Message)
 Logs an event.
 
void LogEvent (int EventType, string Message, params object[] Args)
 Logs an event.
 
void LogEvent (int EventType, long DurationNS, string Message)
 Logs an event.
 
void LogEvent (int EventType, long DurationNS, string Message, params object[] Args)
 Logs an event.
 

Properties

string Source [get]
 Identifier name of this source.
 

Detailed Description

Log source interface. Instances of this are always created by a corresponding ILogContext.

Member Function Documentation

◆ LogEvent() [1/4]

void OpenTap.Diagnostic.ILog.LogEvent ( int EventType,
long DurationNS,
string Message )

Logs an event.

Parameters
EventTypeEvent type constant. Typically matches System.Diagnostics.TraceEventType.
DurationNSDuration in nanoseconds of this event.
MessageMessage for the event.

◆ LogEvent() [2/4]

void OpenTap.Diagnostic.ILog.LogEvent ( int EventType,
long DurationNS,
string Message,
params object[] Args )

Logs an event.

Parameters
EventTypeEvent type constant. Typically matches System.Diagnostics.TraceEventType.
DurationNSDuration in nanoseconds of this event.
MessageMessage for the event. Formatted with arguments in Args.
ArgsArguments for String.Format() call.

◆ LogEvent() [3/4]

void OpenTap.Diagnostic.ILog.LogEvent ( int EventType,
string Message )

Logs an event.

Parameters
EventTypeEvent type constant. Typically matches System.Diagnostics.TraceEventType.
MessageMessage for the event.

◆ LogEvent() [4/4]

void OpenTap.Diagnostic.ILog.LogEvent ( int EventType,
string Message,
params object[] Args )

Logs an event.

Parameters
EventTypeEvent type constant. Typically matches System.Diagnostics.TraceEventType.
MessageMessage for the event. Formatted with arguments in Args.
ArgsArguments for String.Format() call.

OpenTAP 9.34 API built Wed Jul 1 2026 09:21:15