IOCapture does not work together with MiniLoggers
using MiniLoggers
using IOCapture
logger = MiniLogger(format="{level};{timestamp};\"{message}\";{filepath}:{line}")
global_logger(logger)
value, output = IOCapture.capture() do
try
error("hello")
catch e
@error "world" exc = (e, catch_backtrace())
end
end
print(output)
The output unfortunately does not show any mini logger formatting.
IOCapture does not work together with MiniLoggers
The output unfortunately does not show any mini logger formatting.