Log source interface. Instances of this are always created by a corresponding ILogContext.
More...
|
| void | LogEvent (int EventType, string Message) |
| | Logs an event. More...
|
| |
| void | LogEvent (int EventType, string Message, params object[] Args) |
| | Logs an event. More...
|
| |
| void | LogEvent (int EventType, long DurationNS, string Message) |
| | Logs an event. More...
|
| |
| void | LogEvent (int EventType, long DurationNS, string Message, params object[] Args) |
| | Logs an event. More...
|
| |
|
|
string | Source [get] |
| | Identifier name of this source.
|
| |
Log source interface. Instances of this are always created by a corresponding ILogContext.
◆ LogEvent() [1/4]
| void OpenTap.Diagnostic.ILog.LogEvent |
( |
int |
EventType, |
|
|
long |
DurationNS, |
|
|
string |
Message |
|
) |
| |
Logs an event.
- Parameters
-
| EventType | Event type constant. Typically matches System.Diagnostics.TraceEventType. |
| DurationNS | Duration in nanoseconds of this event. |
| Message | Message for the event. |
◆ LogEvent() [2/4]
| void OpenTap.Diagnostic.ILog.LogEvent |
( |
int |
EventType, |
|
|
long |
DurationNS, |
|
|
string |
Message, |
|
|
params object[] |
Args |
|
) |
| |
Logs an event.
- Parameters
-
| EventType | Event type constant. Typically matches System.Diagnostics.TraceEventType. |
| DurationNS | Duration in nanoseconds of this event. |
| Message | Message for the event. Formatted with arguments in Args. |
| Args | Arguments for String.Format() call. |
◆ LogEvent() [3/4]
| void OpenTap.Diagnostic.ILog.LogEvent |
( |
int |
EventType, |
|
|
string |
Message |
|
) |
| |
Logs an event.
- Parameters
-
| EventType | Event type constant. Typically matches System.Diagnostics.TraceEventType. |
| Message | Message for the event. |
◆ LogEvent() [4/4]
| void OpenTap.Diagnostic.ILog.LogEvent |
( |
int |
EventType, |
|
|
string |
Message, |
|
|
params object[] |
Args |
|
) |
| |
Logs an event.
- Parameters
-
| EventType | Event type constant. Typically matches System.Diagnostics.TraceEventType. |
| Message | Message for the event. Formatted with arguments in Args. |
| Args | Arguments for String.Format() call. |