@@ -61,7 +61,8 @@ data ColorStrategy
6161-- > [2016-05-11 21:01:15][MyApp.confrabulation][Debug][myhost.example.com][1724][ThreadId 1154][confrab_factor:42.0][main:Helpers.Logging Helpers/Logging.hs:41:9] Confrabulating widgets, with extra namespace and context
6262-- > [2016-05-11 21:01:15][MyApp][Info][myhost.example.com][1724][ThreadId 1154][main:Helpers.Logging Helpers/Logging.hs:43:7] Namespace and context are back to normal
6363--
64−-- Returns the newly-created `Scribe`. The finalizer flushes the handle.
64+-- Returns the newly-created `Scribe`. The finalizer flushes the
65+-- handle. Handle mode is set to 'LineBuffering' automatically.
6566mkHandleScribe :: ColorStrategy -> Handle -> Severity -> Verbosity -> IO Scribe
6667mkHandleScribe cs h sev verb = do
6768 hSetBuffering h LineBuffering
@@ -79,7 +80,8 @@ mkHandleScribe cs h sev verb = do
7980-- | A specialization of 'mkHandleScribe' that takes a 'FilePath'
8081-- instead of a 'Handle'. It is responsible for opening the file in
8182-- 'AppendMode' and will close the file handle on
82−-- 'closeScribe'/'closeScribes'. Does not do log coloring.
83+-- 'closeScribe'/'closeScribes'. Does not do log coloring. Sets handle
84+-- to 'LineBuffering' mode.
8385mkFileScribe :: FilePath -> Severity -> Verbosity -> IO Scribe
8486mkFileScribe f sev verb = do
8587 h <- openFile f AppendMode