| NLogEventsToEventInfo Method (String) |
Converts the events to sequence of
LogEventInfo objects suitable for routing through NLog.
Namespace:
NLog.LogReceiverService
Assembly:
NLog.Wcf (in NLog.Wcf.dll) Version: 5.2.1+bb45a7652322449cc5d22f0e8ecf7e119c124ca2
Syntax public IList<LogEventInfo> ToEventInfo(
string loggerNamePrefix
)
Public Function ToEventInfo (
loggerNamePrefix As String
) As IList(Of LogEventInfo)
Dim instance As NLogEvents
Dim loggerNamePrefix As String
Dim returnValue As IList(Of LogEventInfo)
returnValue = instance.ToEventInfo(loggerNamePrefix)
member ToEventInfo :
loggerNamePrefix : string -> IList<LogEventInfo>
Parameters
- loggerNamePrefix
- Type: SystemString
The logger name prefix to prepend in front of each logger name.
Return Value
Type:
IListLogEventInfo
Sequence of
LogEventInfo objects.
See Also