LoggingExtras.jl icon indicating copy to clipboard operation
LoggingExtras.jl copied to clipboard

Composable Loggers for the Julia Logging StdLib

Results 30 LoggingExtras.jl issues
Sort by recently updated
recently updated
newest added

This fixes the broken test for using `with_level` on top of a compositional logger. I had hoped there was something we were doing wrong in the compositional components, the fixing...

This drops deprecations, and updates license etc. In general, I don't register packages without going to 1.0.0 anymore. SemVer is better at it's full power.

If we took this ability away from TransformerLogger, then we would be able to have its `min_enabled_level` set to something more simple. To disable it we could check the level...

I think we should. Does anyone disagree? If not someone should approve this.

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...

Currently the timestamp is added to the active logger and not just when changing log files. `logrotate` only appends the timestamp when rotating the file such that the active file...

I just ran into a case where my format function used functionality that got deprecated. Since the deprecation warning machinery uses the logging system this naturally lead to a stack...

I just asked a question on the julia discource about this [here](https://discourse.julialang.org/t/combination-of-formatlogger-and-filelogger-in-loggingextras/60654), but this may be considered for a documentation improvement too, probably in the "More examples" section. Otherwise, this...

`SimpleLogger` (and thus `FileLogger` and `DateRotatingLogger`) set it to `false`. `ConsoleLogger` sets it to `true` `FormatLogger` sets it to `true` _Originally posted by @fredrikekre in https://github.com/oxinabox/LoggingExtras.jl/pull/35#discussion_r558437994_ @fredrikekre > Did you...

For each of the filtered loggers, we could define a convience `select_logger` as for example: ``` function early_select_logger(cond_func, if_true_logger::AbstractLogger, if_false_logger::AbstractLogger) return TeeLogger( EarlyFilteredLogger(cond_func, if_true_logger), EarlyFilteredLogger(!cond_func, if_false_logger), ) end ``` This...