Logs a single message.
Declaration Syntax
C# | Visual Basic | Visual C++ |
void Log( SourceLevels level, string category, string message, params string[] msgParts )
Sub Log ( _ level As SourceLevels, _ category As String, _ message As String, _ ParamArray msgParts As String() _ )
void Log( SourceLevels level, String^ category, String^ message, ... array<String^>^ msgParts )
Parameters
- level (SourceLevels)
- The logging level, indicating the severity of the message to be logged.
- category (String)
- The log category. This identifies the type of message being logged or the component from which the message originates.
- message (String)
- The message to be logged.
- msgParts (array< String >[]()[])
- The MSG parts.
Remarks
The msgParts should be passed with message
to Format(String, Object[]) to create a readable message.