mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Fix bug with logger backlog not working
This commit is contained in:
parent
4233d5e904
commit
dc70720ff7
@ -40,12 +40,13 @@
|
|||||||
|
|
||||||
_filestream = File.Open(location, FileMode.Create, FileAccess.Write, FileShare.Read);
|
_filestream = File.Open(location, FileMode.Create, FileAccess.Write, FileShare.Read);
|
||||||
|
|
||||||
|
Initialized = true;
|
||||||
|
|
||||||
if (Backlog.Count > 0)
|
if (Backlog.Count > 0)
|
||||||
WriteToLog(string.Join("\r\n", Backlog));
|
WriteToLog(string.Join("\r\n", Backlog));
|
||||||
|
|
||||||
WriteLine($"[Logger::Initialize] Finished initializing!");
|
WriteLine($"[Logger::Initialize] Finished initializing!");
|
||||||
|
|
||||||
Initialized = true;
|
|
||||||
FileLocation = location;
|
FileLocation = location;
|
||||||
|
|
||||||
// clean up any logs older than a week
|
// clean up any logs older than a week
|
||||||
|
Loading…
Reference in New Issue
Block a user