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

setup_logging

This commit is contained in:
kalmar 2017-06-05 10:27:07 +02:00
parent cbb8d5a876
commit 887b40b98c

View File

@ -130,6 +130,16 @@ end
Kazhdan_from_sgap(λ,N) = sqrt(2*λ/N)
function setup_logging(name::String)
Memento.add_handler(logger, Memento.DefaultHandler(joinpath(name,"full.log"), Memento.DefaultFormatter("{date}| {msg}")), "full_log")
e = redirect_stderr(logger.handlers["full_log"].io)
return logger
end
function check_property_T(name::String, generating_set::Function,
solver, upper_bound, tol, radius)