LoggingExtras.jl -> Get STRING from LOGGING MACRO

For testing, just put an IOBuffer as the log stream and then read the result from that. Pseudocode:

io = IOBuffer()
logger = FormatLogger(format_func, io)
with_logger(logger)
    # do stuff that generate log messages
end
str = String(take!(io))