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
I'm using monolog 2.9 and I'm looking for an easy way to overwrite a log file.
My use case is that I have processes that run in frequent intervals, and I want to be able to capture both the full log for all operations, as well as the "last log" for the latest iteration.
I fussed into the StreamHandler, and it it always fopens the file in append more.
I tried creating a custom handler, but it seems that visibility for some required methods is restricted to private.
The text was updated successfully, but these errors were encountered:
Hello there!
I'm using monolog 2.9 and I'm looking for an easy way to overwrite a log file.
My use case is that I have processes that run in frequent intervals, and I want to be able to capture both the full log for all operations, as well as the "last log" for the latest iteration.
I fussed into the StreamHandler, and it it always
fopen
s the file in append more.I tried creating a custom handler, but it seems that visibility for some required methods is restricted to
private
.The text was updated successfully, but these errors were encountered: