forked from hbuexinxin/vs-force-utf8
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathOutput.cs
More file actions
30 lines (26 loc) · 651 Bytes
/
Output.cs
File metadata and controls
30 lines (26 loc) · 651 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
namespace VILICVANE.ForceUTF8
{
public class Output
{
public static void Info(string message)
{
message = "[Info] " + message;
WriteToOutput(message);
}
public static void Warn(string message)
{
message = "[Warn] " + message;
WriteToOutput(message);
}
public static void Error(string message)
{
message = "[Error] " + message;
WriteToOutput(message);
}
private static void WriteToOutput(string message)
{
Console.WriteLine(message);
}
}
}