mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 16:41:36 -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);
|
||||
|
||||
Initialized = true;
|
||||
|
||||
if (Backlog.Count > 0)
|
||||
WriteToLog(string.Join("\r\n", Backlog));
|
||||
|
||||
WriteLine($"[Logger::Initialize] Finished initializing!");
|
||||
|
||||
Initialized = true;
|
||||
FileLocation = location;
|
||||
|
||||
// clean up any logs older than a week
|
||||
|
Loading…
Reference in New Issue
Block a user