C
C#2y ago
Trace

❔ Safe Stream Handling?

I'm making a small library for logging and am trying to log to a file safely, yet I am not sure how, as with the amount of potential log calls (please correct me if I'm wrong) using a using statement would be wasting resources, and I don't know how to automatically close the stream on exit or make it to where if run on Linux, it could trace the log while the application is running.
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.