Implementation of Logger that appends log messages to a file
named {prefix}.{date}.{suffix} in a configured directory, with an
optional preceding timestamp.
The encoding is more or less Base 64, but instead of '+'
and '/' as defined in RFC1521, the characters '_' and
'-' are used because they are safe in URLs and file names.