# \[Pkg-ANN\] LoggingExtras.jl

**URL:** <https://discourse.julialang.org/t/pkg-ann-loggingextras-jl/15415>\
**Category:** Community\
**Created:** [September 24, 2018, 5:53am UTC](https://discourse.julialang.org/t/pkg-ann-loggingextras-jl/15415 "2018-09-24T05:53:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oxinabox](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oxinabox/32/206603_2.png) [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Post date:** [September 24, 2018, 5:53am UTC](https://discourse.julialang.org/t/pkg-ann-loggingextras-jl/15415/1 "2018-09-24T05:53:00Z")

</div>

This is a quick little package I threw together to see about extending the logging functionality of julia,  
to do more or less arbitrary log routing.  
So you can send some logs to the console and some to one file, some to another, and some to both.

![Diagram showing low logs can route](https://raw.githubusercontent.com/oxinabox/LoggingExtras.jl/master/diag.svg?sanitize=true)

The File Logger, I do not think is particularly nice, as a file logger,  
since it uses more than 1 line per log,  
which makes it un-grep-able.  
But it was very easy to make since it just wraps the `Base.CoreLogging.SimpleLogger.`

I am impressed out how easy doing this kinda thing is in the new logging framework.

[https://github.com/oxinabox/LoggingExtras.jl](https://github.com/oxinabox/LoggingExtras.jl)
