forked from atomsk-0/EasyLog
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added customizable text/background colors - All 8 severity levels form the Syslog Severity Logs spec - Library is now called EasyLogPlus - there's probably more but i forgot
- Loading branch information
Showing
14 changed files
with
254 additions
and
57 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Drawing; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace EasyLogPlus { | ||
public class Config { | ||
public bool ShowDate = true; | ||
public bool Console = true; | ||
public bool UseColon = true; | ||
|
||
public string LogPath = Environment.CurrentDirectory + $@"\Application.log"; | ||
|
||
public ConsoleColor DebugForeground = ConsoleColor.Blue; | ||
public ConsoleColor InfoForeground = ConsoleColor.Gray; | ||
public ConsoleColor NoticeForeground = ConsoleColor.Green; | ||
public ConsoleColor WarningForeground = ConsoleColor.DarkYellow; | ||
public ConsoleColor ErrorForeground = ConsoleColor.Red; | ||
|
||
public ConsoleColor CriticalBackground = ConsoleColor.DarkRed; | ||
public ConsoleColor AlertBackground = ConsoleColor.DarkBlue; | ||
public ConsoleColor EmergencyBackground = ConsoleColor.DarkMagenta; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.