character scalar: If not NULL a AppenderFile will be created
that logs to this file. If the filename ends in .jsonl an AppenderJson
will be created instead.
fmt
character scalar: Format to use if file is supplied and not
a .jsonl file. If NULL it defaults to "%L [%t] %m"
(see format.LogEvent)