add default log name
This commit is contained in:
parent
1ea396330c
commit
b41f2ccdc8
@ -1,6 +1,6 @@
|
||||
using Memento
|
||||
|
||||
function setup_logging(filename::String, handlername::Symbol)
|
||||
function setup_logging(filename::String, handlername::Symbol=:log)
|
||||
isdir(dirname(filename)) || mkdir(dirname(filename))
|
||||
logger = Memento.config!("info", fmt="{date}| {msg}")
|
||||
handler = DefaultHandler(filename, DefaultFormatter("{date}| {msg}"))
|
||||
|
Loading…
Reference in New Issue
Block a user