Search Results for

    Show / Hide Table of Contents

    Class Warning

    This class represents a Warning log event.

    Inheritance
    object
    LogEvent
    Warning
    Implements
    INoSerializationVerificationNeeded
    Inherited Members
    LogEvent.Cause
    LogEvent.Timestamp
    LogEvent.Thread
    LogEvent.LogSource
    LogEvent.LogClass
    LogEvent.Message
    LogEvent.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Event
    Assembly: Akka.dll
    Syntax
    public class Warning : LogEvent, INoSerializationVerificationNeeded

    Constructors

    | Edit this page View Source

    Warning(Exception, string, Type, object)

    Initializes a new instance of the Warning class.

    Declaration
    public Warning(Exception cause, string logSource, Type logClass, object message)
    Parameters
    Type Name Description
    Exception cause

    The exception that caused the log event.

    string logSource

    The source that generated the log event.

    Type logClass

    The type of logger used to log the event.

    object message

    The message that is being logged.

    | Edit this page View Source

    Warning(string, Type, object)

    Initializes a new instance of the Warning class.

    Declaration
    public Warning(string logSource, Type logClass, object message)
    Parameters
    Type Name Description
    string logSource

    The source that generated the log event.

    Type logClass

    The type of logger used to log the event.

    object message

    The message that is being logged.

    Methods

    | Edit this page View Source

    LogLevel()

    Retrieves the LogLevel used to classify this event.

    Declaration
    public override LogLevel LogLevel()
    Returns
    Type Description
    LogLevel

    The LogLevel used to classify this event.

    Overrides
    LogEvent.LogLevel()

    Implements

    INoSerializationVerificationNeeded

    Extension Methods

    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