Search Results for

    Show / Hide Table of Contents

    Class StandardOutLogger

    This class represents an event logger that logs its messages to standard output (e.g. the console).

    This logger is always attached first in order to be able to log failures during application start-up, even before normal logging is started.
    Inheritance
    object
    ActorRefBase
    InternalActorRefBase
    MinimalActorRef
    MinimalLogger
    StandardOutLogger
    Implements
    IActorRef
    ICanTell
    IEquatable<IActorRef>
    IComparable<IActorRef>
    ISurrogated
    IComparable
    Inherited Members
    MinimalLogger.Filter
    MinimalLogger.Provider
    MinimalLogger.Path
    MinimalLogger.TellInternal(object, IActorRef)
    ActorRefBase.Tell(object, IActorRef)
    ActorRefBase.ToString()
    ActorRefBase.Equals(object)
    ActorRefBase.GetHashCode()
    ActorRefBase.CompareTo(object)
    ActorRefBase.Equals(IActorRef)
    ActorRefBase.CompareTo(IActorRef)
    ActorRefBase.ToSurrogate(ActorSystem)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Event
    Assembly: Akka.dll
    Syntax
    public class StandardOutLogger : MinimalLogger, IActorRef, ICanTell, IEquatable<IActorRef>, IComparable<IActorRef>, ISurrogated, IComparable

    Properties

    | Edit this page View Source

    DebugColor

    The foreground color to use when printing Debug events to the console.

    Declaration
    public static ConsoleColor DebugColor { get; set; }
    Property Value
    Type Description
    ConsoleColor
    | Edit this page View Source

    ErrorColor

    The foreground color to use when printing Error events to the console.

    Declaration
    public static ConsoleColor ErrorColor { get; set; }
    Property Value
    Type Description
    ConsoleColor
    | Edit this page View Source

    InfoColor

    The foreground color to use when printing Info events to the console.

    Declaration
    public static ConsoleColor InfoColor { get; set; }
    Property Value
    Type Description
    ConsoleColor
    | Edit this page View Source

    UseColors

    Determines whether colors are used when printing events to the console.

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

    WarningColor

    The foreground color to use when printing Warning events to the console.

    Declaration
    public static ConsoleColor WarningColor { get; set; }
    Property Value
    Type Description
    ConsoleColor

    Methods

    | Edit this page View Source

    Log(object)

    Handles incoming log events by printing them to the console.

    Declaration
    protected override void Log(object message)
    Parameters
    Type Name Description
    object message

    The message to print

    Overrides
    MinimalLogger.Log(object)
    Exceptions
    Type Condition
    ArgumentNullException

    This exception is thrown if the given message is undefined.

    Implements

    IActorRef
    ICanTell
    IEquatable<T>
    IComparable<T>
    ISurrogated
    IComparable

    Extension Methods

    ActorRefExtensions.GetOrElse(IActorRef, Func<IActorRef>)
    ActorRefExtensions.IsNobody(IActorRef)
    ActorRefImplicitSenderExtensions.Forward(IActorRef, object)
    ActorRefImplicitSenderExtensions.Tell(IActorRef, object)
    GracefulStopSupport.GracefulStop(IActorRef, TimeSpan)
    GracefulStopSupport.GracefulStop(IActorRef, TimeSpan, object)
    WatchAsyncSupport.WatchAsync(IActorRef, CancellationToken)
    Futures.Ask(ICanTell, object, TimeSpan?)
    Futures.Ask(ICanTell, object, TimeSpan?, CancellationToken)
    Futures.Ask(ICanTell, object, CancellationToken)
    Futures.Ask<T>(ICanTell, Func<IActorRef, object>, TimeSpan?, CancellationToken)
    Futures.Ask<T>(ICanTell, object, TimeSpan?)
    Futures.Ask<T>(ICanTell, object, TimeSpan?, CancellationToken)
    Futures.Ask<T>(ICanTell, object, CancellationToken)
    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