Skip to content

Commit

Permalink
✏️ Forgot to quickly update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
asoji authored Aug 28, 2022
1 parent 43abc63 commit 46dedbb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- Added the whole Syslog Severity Level standardization [[read about that here](https://en.wikipedia.org/wiki/Syslog#Severity_level)], cranking from 4 severity levels to 8.
- Uses your local timezone in logs instead of UTC timezone
- Switchable between `:` and `=>` in logs, like `NOTICE: This is notice text!` or `NOTICE => This is notice text!` using `cfg.UseColon`
- Ability to have Critical-Emergency logs be logged in a seperate file through `cfg.SeperateCriticalLogs`
- **Probably a lot of breaking changes**, but I plan on basically keeping this seperate from the original project.

Basically, I should've just made my own logger considering how much I changed, but eh, this fork works, and I'm pretty happy with it.
Expand Down Expand Up @@ -41,8 +42,9 @@ If you want customize settings add these, keeping in mind that this whole `SetCo
void SetConfig()
{
cfg.LogPath = Environment.CurrentDirectory + @"\Application.log"; // Set path where you want log to be saved
cfg.ShowDate = true; // If this is set to true it will add date to the log
cfg.Console = true; // If this is set to true it will print the log to Console too
cfg.ShowDate = true; // If this is set to true, it will add date to the log
cfg.Console = true; // If this is set to true, it will print the log to Console too
cfg.SeperateCriticalLogs = true; // If this is set to true, it will print Critical-Emergency logs to a seperate log file
// ENTIRELY optional, just add and change if you want.
cfg.UseColon = true; // If set to true, uses `:` in logs instead of `=>`
Expand Down Expand Up @@ -128,6 +130,7 @@ class Program {
cfg.LogPath = Environment.CurrentDirectory + @"\Application.log";
cfg.ShowDate = true;
cfg.Console = true;
cfg.SeperateCriticalLogs = true;

cfg.UseColon = false;

Expand Down

0 comments on commit 46dedbb

Please sign in to comment.