Added 'style' parameter to file logger, null = write as soon as log statement is issued, 'buffer' = write on shutdown, 'firehose' = write on shutdown all log levels if certain log level is issued.