Class StandardOutLogger
This class represents an event logger that logs its messages to standard output (e.g. the console).
Inheritance
Akka.Actor.InternalActorRefBase
Akka.Actor.MinimalActorRef
StandardOutLogger
Inherited Members
Namespace: Akka.Event
Assembly: Akka.dll
Syntax
public class StandardOutLogger : MinimalLogger, IInternalActorRef, IActorRef, ICanTell, IEquatable<IActorRef>, IComparable<IActorRef>, ISurrogated, IComparable, IActorRefScope
Properties
| Improve this Doc View SourceDebugColor
The foreground color to use when printing Debug events to the console.
Declaration
public static ConsoleColor DebugColor { get; set; }
Property Value
Type | Description |
---|---|
ConsoleColor |
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 |
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 |
UseColors
Determines whether colors are used when printing events to the console.
Declaration
public static bool UseColors { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
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
| Improve this Doc View SourceLog(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
Exceptions
Type | Condition |
---|---|
ArgumentNullException | This exception is thrown if the given |