/// <summary> /// Log a info message. /// </summary> public static void LogInfo <TArg, TArg2, TArg3>( this IDiagnosticLogger logger, string message, TArg arg, TArg2 arg2, TArg3 arg3) => logger.LogIfEnabled(SentryLevel.Info, null, message, arg, arg2, arg3);
public static void LogError <TArg, TArg2>( this IDiagnosticLogger logger, string message, Exception exception, TArg arg, TArg2 arg2) => logger.LogIfEnabled(SentryLevel.Error, message, exception, arg, arg2);
public static void LogFatal( this IDiagnosticLogger logger, string message, Exception?exception = null) => logger.LogIfEnabled(SentryLevel.Fatal, message, exception);
public static void LogDebug <TArg>( this IDiagnosticLogger logger, string message, TArg arg) => logger.LogIfEnabled(SentryLevel.Debug, message, arg);
public static void LogWarning <TArg, TArg2>( this IDiagnosticLogger logger, string message, TArg arg, TArg2 arg2) => logger.LogIfEnabled(SentryLevel.Warning, message, arg, arg2);
public static void LogWarning( this IDiagnosticLogger logger, string message) => logger.LogIfEnabled(SentryLevel.Warning, message);
/// <summary> /// Log a info message. /// </summary> public static void LogInfo( this IDiagnosticLogger logger, string message) => logger.LogIfEnabled(SentryLevel.Info, null, message);
/// <summary> /// Log a error message. /// </summary> public static void LogError( this IDiagnosticLogger logger, string message, Exception?exception = null) => logger.LogIfEnabled(SentryLevel.Error, exception, message);