2019-12-04 18:57:18 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
2019-12-08 19:54:52 +01:00
|
|
|
|
namespace Swan {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Defines a set of bitwise standard terminal writers.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Flags]
|
|
|
|
|
public enum TerminalWriters {
|
2019-12-04 18:57:18 +01:00
|
|
|
|
/// <summary>
|
2019-12-08 19:54:52 +01:00
|
|
|
|
/// Prevents output
|
2019-12-04 18:57:18 +01:00
|
|
|
|
/// </summary>
|
2019-12-08 19:54:52 +01:00
|
|
|
|
None = 0,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Writes to the Console.Out
|
|
|
|
|
/// </summary>
|
|
|
|
|
StandardOutput = 1,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Writes to the Console.Error
|
|
|
|
|
/// </summary>
|
|
|
|
|
StandardError = 2,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Writes to all possible terminal writers
|
|
|
|
|
/// </summary>
|
|
|
|
|
All = StandardOutput | StandardError,
|
|
|
|
|
}
|
2019-12-04 18:57:18 +01:00
|
|
|
|
}
|