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 want to output ConsoleLogger to a file. Is it possible?
From the documentation, I first tried using FileLogger. This worked, but outputted too much information (a whole line with the source code location). So next I tried the example from the documentation :
This was better, but not as nice as ConsoleLogger (and was missing some information in some cases).
So basically, I think ConsoleLogger is perfect and I just want to output the same information with the same formatting to a file.
The text was updated successfully, but these errors were encountered:
How do I make use of LoggingExtras in such a case?
The main thing I want out of it is the automatic flushing. I want the log to be continuously updated, not only at the end of the execution of the file.
This is not currently possible.
I guess we could make a forced flushing wrapper logger.
I kind a feel like that should be handled at the stream level though.
Or the OS level?
Hello,
I want to output ConsoleLogger to a file. Is it possible?
From the documentation, I first tried using FileLogger. This worked, but outputted too much information (a whole line with the source code location). So next I tried the example from the documentation :
This was better, but not as nice as ConsoleLogger (and was missing some information in some cases).
So basically, I think ConsoleLogger is perfect and I just want to output the same information with the same formatting to a file.
The text was updated successfully, but these errors were encountered: