Search Results for

    Show / Hide Table of Contents

    Class NoLogger

    This class represents an ILoggingAdapter implementation used when messages are to be dropped instead of logged.

    Inheritance
    object
    NoLogger
    Implements
    ILoggingAdapter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Event
    Assembly: Akka.dll
    Syntax
    public sealed class NoLogger : ILoggingAdapter

    Fields

    | Edit this page View Source

    Instance

    Retrieves a singleton instance of the NoLogger class.

    Declaration
    public static readonly ILoggingAdapter Instance
    Field Value
    Type Description
    ILoggingAdapter

    Properties

    | Edit this page View Source

    Formatter

    The ILogMessageFormatter used to format log messages.

    Declaration
    public ILogMessageFormatter Formatter { get; }
    Property Value
    Type Description
    ILogMessageFormatter
    | Edit this page View Source

    IsDebugEnabled

    Check to determine whether the DebugLevel is enabled.

    Declaration
    public bool IsDebugEnabled { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsErrorEnabled

    Check to determine whether the ErrorLevel is enabled.

    Declaration
    public bool IsErrorEnabled { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsInfoEnabled

    Check to determine whether the InfoLevel is enabled.

    Declaration
    public bool IsInfoEnabled { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsWarningEnabled

    Check to determine whether the WarningLevel is enabled.

    Declaration
    public bool IsWarningEnabled { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    IsEnabled(LogLevel)

    Determines whether a specific log level is enabled.

    Declaration
    public bool IsEnabled(LogLevel logLevel)
    Parameters
    Type Name Description
    LogLevel logLevel

    The log level that is being checked.

    Returns
    Type Description
    bool

    true if the specified level is enabled; otherwise false.

    | Edit this page View Source

    Log(LogLevel, Exception, LogMessage)

    Declaration
    public void Log(LogLevel logLevel, Exception cause, LogMessage message)
    Parameters
    Type Name Description
    LogLevel logLevel
    Exception cause
    LogMessage message
    | Edit this page View Source

    Log(LogLevel, Exception, string)

    Logs a message with a specified level.

    Declaration
    public void Log(LogLevel logLevel, Exception cause, string format)
    Parameters
    Type Name Description
    LogLevel logLevel

    The level used to log the message.

    Exception cause

    The exception that caused this log message.

    string format

    The message that is being logged.

    Implements

    ILoggingAdapter

    Extension Methods

    LoggingExtensions.Debug(ILoggingAdapter, Exception, string)
    LoggingExtensions.Debug(ILoggingAdapter, Exception, string, object[])
    LoggingExtensions.Debug(ILoggingAdapter, string)
    LoggingExtensions.Debug(ILoggingAdapter, string, object[])
    LoggingExtensions.Debug<T1>(ILoggingAdapter, Exception, string, T1)
    LoggingExtensions.Debug<T1>(ILoggingAdapter, string, T1)
    LoggingExtensions.Debug<T1, T2>(ILoggingAdapter, Exception, string, T1, T2)
    LoggingExtensions.Debug<T1, T2>(ILoggingAdapter, string, T1, T2)
    LoggingExtensions.Debug<T1, T2, T3>(ILoggingAdapter, Exception, string, T1, T2, T3)
    LoggingExtensions.Debug<T1, T2, T3>(ILoggingAdapter, string, T1, T2, T3)
    LoggingExtensions.Debug<T1, T2, T3, T4>(ILoggingAdapter, Exception, string, T1, T2, T3, T4)
    LoggingExtensions.Debug<T1, T2, T3, T4>(ILoggingAdapter, string, T1, T2, T3, T4)
    LoggingExtensions.Debug<T1, T2, T3, T4, T5>(ILoggingAdapter, Exception, string, T1, T2, T3, T4, T5)
    LoggingExtensions.Debug<T1, T2, T3, T4, T5>(ILoggingAdapter, string, T1, T2, T3, T4, T5)
    LoggingExtensions.Debug<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, Exception, string, T1, T2, T3, T4, T5, T6)
    LoggingExtensions.Debug<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, string, T1, T2, T3, T4, T5, T6)
    LoggingExtensions.Error(ILoggingAdapter, Exception, string)
    LoggingExtensions.Error(ILoggingAdapter, Exception, string, object[])
    LoggingExtensions.Error(ILoggingAdapter, string)
    LoggingExtensions.Error(ILoggingAdapter, string, object[])
    LoggingExtensions.Error<T1>(ILoggingAdapter, Exception, string, T1)
    LoggingExtensions.Error<T1>(ILoggingAdapter, string, T1)
    LoggingExtensions.Error<T1, T2>(ILoggingAdapter, Exception, string, T1, T2)
    LoggingExtensions.Error<T1, T2>(ILoggingAdapter, string, T1, T2)
    LoggingExtensions.Error<T1, T2, T3>(ILoggingAdapter, Exception, string, T1, T2, T3)
    LoggingExtensions.Error<T1, T2, T3>(ILoggingAdapter, string, T1, T2, T3)
    LoggingExtensions.Error<T1, T2, T3, T4>(ILoggingAdapter, Exception, string, T1, T2, T3, T4)
    LoggingExtensions.Error<T1, T2, T3, T4>(ILoggingAdapter, string, T1, T2, T3, T4)
    LoggingExtensions.Error<T1, T2, T3, T4, T5>(ILoggingAdapter, Exception, string, T1, T2, T3, T4, T5)
    LoggingExtensions.Error<T1, T2, T3, T4, T5>(ILoggingAdapter, string, T1, T2, T3, T4, T5)
    LoggingExtensions.Error<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, Exception, string, T1, T2, T3, T4, T5, T6)
    LoggingExtensions.Error<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, string, T1, T2, T3, T4, T5, T6)
    LoggingExtensions.Info(ILoggingAdapter, Exception, string)
    LoggingExtensions.Info(ILoggingAdapter, Exception, string, object[])
    LoggingExtensions.Info(ILoggingAdapter, string)
    LoggingExtensions.Info(ILoggingAdapter, string, object[])
    LoggingExtensions.Info<T1>(ILoggingAdapter, Exception, string, T1)
    LoggingExtensions.Info<T1>(ILoggingAdapter, string, T1)
    LoggingExtensions.Info<T1, T2>(ILoggingAdapter, Exception, string, T1, T2)
    LoggingExtensions.Info<T1, T2>(ILoggingAdapter, string, T1, T2)
    LoggingExtensions.Info<T1, T2, T3>(ILoggingAdapter, Exception, string, T1, T2, T3)
    LoggingExtensions.Info<T1, T2, T3>(ILoggingAdapter, string, T1, T2, T3)
    LoggingExtensions.Info<T1, T2, T3, T4>(ILoggingAdapter, Exception, string, T1, T2, T3, T4)
    LoggingExtensions.Info<T1, T2, T3, T4>(ILoggingAdapter, string, T1, T2, T3, T4)
    LoggingExtensions.Info<T1, T2, T3, T4, T5>(ILoggingAdapter, Exception, string, T1, T2, T3, T4, T5)
    LoggingExtensions.Info<T1, T2, T3, T4, T5>(ILoggingAdapter, string, T1, T2, T3, T4, T5)
    LoggingExtensions.Info<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, Exception, string, T1, T2, T3, T4, T5, T6)
    LoggingExtensions.Info<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, string, T1, T2, T3, T4, T5, T6)
    LoggingExtensions.Log(ILoggingAdapter, LogLevel, Exception, string, object[])
    LoggingExtensions.Log(ILoggingAdapter, LogLevel, string)
    LoggingExtensions.Log(ILoggingAdapter, LogLevel, string, object[])
    LoggingExtensions.Log<T1>(ILoggingAdapter, LogLevel, Exception, string, T1)
    LoggingExtensions.Log<T1, T2>(ILoggingAdapter, LogLevel, Exception, string, T1, T2)
    LoggingExtensions.Log<T1, T2, T3>(ILoggingAdapter, LogLevel, Exception, string, T1, T2, T3)
    LoggingExtensions.Log<T1, T2, T3, T4>(ILoggingAdapter, LogLevel, Exception, string, T1, T2, T3, T4)
    LoggingExtensions.Log<T1, T2, T3, T4, T5>(ILoggingAdapter, LogLevel, Exception, string, T1, T2, T3, T4, T5)
    LoggingExtensions.Log<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, LogLevel, Exception, string, T1, T2, T3, T4, T5, T6)
    LoggingExtensions.Warning(ILoggingAdapter, Exception, string)
    LoggingExtensions.Warning(ILoggingAdapter, Exception, string, object[])
    LoggingExtensions.Warning(ILoggingAdapter, string)
    LoggingExtensions.Warning(ILoggingAdapter, string, object[])
    LoggingExtensions.Warning<T1>(ILoggingAdapter, Exception, string, T1)
    LoggingExtensions.Warning<T1>(ILoggingAdapter, string, T1)
    LoggingExtensions.Warning<T1, T2>(ILoggingAdapter, Exception, string, T1, T2)
    LoggingExtensions.Warning<T1, T2>(ILoggingAdapter, string, T1, T2)
    LoggingExtensions.Warning<T1, T2, T3>(ILoggingAdapter, Exception, string, T1, T2, T3)
    LoggingExtensions.Warning<T1, T2, T3>(ILoggingAdapter, string, T1, T2, T3)
    LoggingExtensions.Warning<T1, T2, T3, T4>(ILoggingAdapter, Exception, string, T1, T2, T3, T4)
    LoggingExtensions.Warning<T1, T2, T3, T4>(ILoggingAdapter, string, T1, T2, T3, T4)
    LoggingExtensions.Warning<T1, T2, T3, T4, T5>(ILoggingAdapter, Exception, string, T1, T2, T3, T4, T5)
    LoggingExtensions.Warning<T1, T2, T3, T4, T5>(ILoggingAdapter, string, T1, T2, T3, T4, T5)
    LoggingExtensions.Warning<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, Exception, string, T1, T2, T3, T4, T5, T6)
    LoggingExtensions.Warning<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, string, T1, T2, T3, T4, T5, T6)
    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET