Class StandardOutWriter
This class contains methods for thread safe writing to the standard output stream.
Inherited Members
Namespace: Akka.Util
Assembly: Akka.dll
Syntax
public static class StandardOutWriter
Methods
| Improve this Doc View SourceWrite(String, Nullable<ConsoleColor>, Nullable<ConsoleColor>)
Writes the specified String value to the standard output stream. Optionally you may specify which colors should be used.
Declaration
public static void Write(string message, ConsoleColor? foregroundColor = null, ConsoleColor? backgroundColor = null)
Parameters
Type | Name | Description |
---|---|---|
String | message | The String value to write |
Nullable<ConsoleColor> | foregroundColor | Optional: The foreground color |
Nullable<ConsoleColor> | backgroundColor | Optional: The background color |
WriteLine(String, Nullable<ConsoleColor>, Nullable<ConsoleColor>)
Writes the specified String value, followed by the current line terminator, to the standard output stream. Optionally you may specify which colors should be used.
Declaration
public static void WriteLine(string message, ConsoleColor? foregroundColor = null, ConsoleColor? backgroundColor = null)
Parameters
Type | Name | Description |
---|---|---|
String | message | The String value to write |
Nullable<ConsoleColor> | foregroundColor | Optional: The foreground color |
Nullable<ConsoleColor> | backgroundColor | Optional: The background color |