Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can I modify the console log mode? #16

Open
floswald opened this issue May 12, 2015 · 0 comments
Open

how can I modify the console log mode? #16

floswald opened this issue May 12, 2015 · 0 comments

Comments

@floswald
Copy link

I'd like to modify what gets logged onto the console, not sure you want this to be possible at all. anyway, here is what I did:

julia> using Lumberjack

julia> remove_truck("console")
Dict{Any,TimberTruck} with 0 entries

julia> add_truck(LumberjackTruck(STDOUT,"debug"),"serial-log")
LumberjackTruck(TTY(open, 0 bytes waiting),"debug",#undef)

julia> debug("hi")
ERROR: access to undefined reference
 in log at /Users/florianoswald/.julia/v0.3/Lumberjack/src/timbertruck.jl:92
 in log at /Users/florianoswald/.julia/v0.3/Lumberjack/src/lumbermill.jl:52
 in debug at /Users/florianoswald/.julia/v0.3/Lumberjack/src/lumbermill.jl:61
 in debug at /Users/florianoswald/.julia/v0.3/Lumberjack/src/lumbermill.jl:65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant