1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-27 01:10:28 +01:00

redirect stderr to full_log

This commit is contained in:
kalmar 2017-08-03 11:34:38 +02:00
parent a6eed4cd11
commit a460b71db9

View File

@ -21,7 +21,7 @@ function setup_logging(name::String)
Memento.DefaultHandler(joinpath(name,"full_$(string((now()))).log"), Memento.DefaultHandler(joinpath(name,"full_$(string((now()))).log"),
Memento.DefaultFormatter("{date}| {msg}")), "full_log") Memento.DefaultFormatter("{date}| {msg}")), "full_log")
# e = redirect_stderr(logger.handlers["full_log"].io) e = redirect_stderr(logger.handlers["full_log"].io)
return logger return logger
end end