Short Type

This commit is contained in:
C9Glax 2022-05-06 00:32:45 +02:00
parent cfaaeceb27
commit 31a61b3000

View File

@ -23,7 +23,7 @@
{ {
if(type <= this.level) if(type <= this.level)
{ {
string header = string.Format("{0} {1} {2}: ", DateTime.Now.ToLocalTime().ToShortDateString(), DateTime.Now.ToLocalTime().ToLongTimeString(), type.ToString()); string header = string.Format("{0} {1} {2}: ", DateTime.Now.ToLocalTime().ToShortDateString(), DateTime.Now.ToLocalTime().ToLongTimeString(), type.ToString()[0]);
switch (this.logType) switch (this.logType)
{ {
case LogType.Console: case LogType.Console: