You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a Sink for writing to a file. This should be really simple because other sinks will take on the taks of writing in specific manners to files (daily, rotating, ...).
The file should be opened when the sink is created and closed when the sink is destroyed.
On logger.flush() the logged messages should be written to the sink. logger.log() should hold it in memory
stateDiagram-v2
[*]
file_open: File open
file_closed: File closed
[*] --> file_open: Sink created
file_open --> file_closed: Sink destroyed
file_closed -->[*]
We need a Sink for writing to a file. This should be really simple because other sinks will take on the taks of writing in specific manners to files (daily, rotating, ...).
The file should be opened when the sink is created and closed when the sink is destroyed.
On logger.flush() the logged messages should be written to the sink. logger.log() should hold it in memory
The text was updated successfully, but these errors were encountered: