Add a command line flag to set the flushDaemon interval.
Adds a Log interface and WriterTo() function.

WriterTo() returns a logger writing to an io.Writer, useful for
applications that would prefer to output log lines to destinations
other than files or stderr.

The Log interface is satisfied by the unexported logger type.
Rename to slog.