Search Results for

    Show / Hide Table of Contents

    Interface ILoggingAdapter

    This interface describes the methods used to log events within the system.

    Namespace: Akka.Event
    Assembly: Akka.dll
    Syntax
    public interface ILoggingAdapter

    Properties

    | Improve this Doc View Source

    IsDebugEnabled

    Check to determine whether the DebugLevel is enabled.

    Declaration
    bool IsDebugEnabled { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsErrorEnabled

    Check to determine whether the ErrorLevel is enabled.

    Declaration
    bool IsErrorEnabled { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsInfoEnabled

    Check to determine whether the InfoLevel is enabled.

    Declaration
    bool IsInfoEnabled { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsWarningEnabled

    Check to determine whether the WarningLevel is enabled.

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

    Methods

    | Improve this Doc View Source

    Debug(Exception, String, Object[])

    Logs a DebugLevel message and associated exception.

    Declaration
    void Debug(Exception cause, string format, params object[] args)
    Parameters
    Type Name Description
    Exception cause

    The exception associated with this message.

    String format

    The message that is being logged.

    Object[] args

    An optional list of items used to format the message.

    | Improve this Doc View Source

    Debug(String, Object[])

    Logs a DebugLevel message.

    Declaration
    void Debug(string format, params object[] args)
    Parameters
    Type Name Description
    String format

    The message that is being logged.

    Object[] args

    An optional list of items used to format the message.

    | Improve this Doc View Source

    Error(Exception, String, Object[])

    Logs a ErrorLevel message and associated exception.

    Declaration
    void Error(Exception cause, string format, params object[] args)
    Parameters
    Type Name Description
    Exception cause

    The exception associated with this message.

    String format

    The message that is being logged.

    Object[] args

    An optional list of items used to format the message.

    | Improve this Doc View Source

    Error(String, Object[])

    Logs a ErrorLevel message.

    Declaration
    void Error(string format, params object[] args)
    Parameters
    Type Name Description
    String format

    The message that is being logged.

    Object[] args

    An optional list of items used to format the message.

    | Improve this Doc View Source

    Info(Exception, String, Object[])

    Logs a InfoLevel message and associated exception.

    Declaration
    void Info(Exception cause, string format, params object[] args)
    Parameters
    Type Name Description
    Exception cause

    The exception associated with this message.

    String format

    The message that is being logged.

    Object[] args

    An optional list of items used to format the message.

    | Improve this Doc View Source

    Info(String, Object[])

    Logs a InfoLevel message.

    Declaration
    void Info(string format, params object[] args)
    Parameters
    Type Name Description
    String format

    The message that is being logged.

    Object[] args

    An optional list of items used to format the message.

    | Improve this Doc View Source

    IsEnabled(LogLevel)

    Determines whether a specific log level is enabled.

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

    The log level that is being checked.

    Returns
    Type Description
    Boolean

    true if the specified level is enabled; otherwise false.

    | Improve this Doc View Source

    Log(LogLevel, Exception, String, Object[])

    Logs a message with a specified level.

    Declaration
    void Log(LogLevel logLevel, Exception cause, string format, params object[] args)
    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.

    Object[] args

    An optional list of items used to format the message.

    | Improve this Doc View Source

    Log(LogLevel, String, Object[])

    Logs a message with a specified level.

    Declaration
    void Log(LogLevel logLevel, string format, params object[] args)
    Parameters
    Type Name Description
    LogLevel logLevel

    The level used to log the message.

    String format

    The message that is being logged.

    Object[] args

    An optional list of items used to format the message.

    | Improve this Doc View Source

    Warning(Exception, String, Object[])

    Logs a WarningLevel message and associated exception.

    Declaration
    void Warning(Exception cause, string format, params object[] args)
    Parameters
    Type Name Description
    Exception cause

    The exception associated with this message.

    String format

    The message that is being logged.

    Object[] args

    An optional list of items used to format the message.

    | Improve this Doc View Source

    Warning(String, Object[])

    Logs a WarningLevel message.

    Declaration
    void Warning(string format, params object[] args)
    Parameters
    Type Name Description
    String format

    The message that is being logged.

    Object[] args

    An optional list of items used to format the message.

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    PatternMatch.Match(Object)
    PatternMatch.Match<T>(Object)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(Object)
    In This Article
    • githubImprove this Doc
    • 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