MapSuiteGisEditor/GisEditorInfrastructure/Managers/LoggerManager/LoggerPluginManager.cs
/// <summary>
/// Logs the specified logger level.
/// </summary>
/// <param name="loggerLevel">The logger level.</param>
/// <param name="message">The message.</param>
/// <param name="error">The error.</param>
Logs the specified logger level.
Logs the specified logger level .
public void Log(LoggerLevel loggerLevel, string message, Exception error)
        {
            LoggerMessage loggerMessage = new LoggerMessage(loggerLevel, message);
            if (error != null) loggerMessage.Error = new ExceptionInfo(error.Message, error.StackTrace, error.Source);
            else loggerMessage.Error = new ExceptionInfo(string.Empty, string.Empty, string.Empty);
            Log(loggerMessage);
        }
public void Log ( LoggerLevel loggerLevel , string message , Exception error ) { LoggerMessage loggerMessage = new LoggerMessage ( loggerLevel , message ) ; if ( error != null ) loggerMessage . Error = new ExceptionInfo ( error . Message , error . StackTrace , error . Source ) ; else loggerMessage . Error = new ExceptionInfo ( string . Empty , string . Empty , string . Empty ) ; Log ( loggerMessage ) ; }
Logs the specified logger level.
Logs the specified logger level .
loggerLevel
LoggerLevel
The logger level.
The logger level .
message
string
None
error
Exception
None