Logs a single message with a given severity and category.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void Log( SourceLevels level, string category, string message )
Public Sub Log ( _ level As SourceLevels, _ category As String, _ message As String _ )
public: virtual void Log( SourceLevels level, String^ category, String^ message ) sealed
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.