Skip to content

Commit

Permalink
Minor doc update.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvoidex committed Sep 17, 2012
1 parent f9048c4 commit d4d483c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -82,7 +82,7 @@ run = do
withLog l test
</pre>

Politics sets 'low' and 'high' levels. By default, 'low' and 'high' are both INFO.
Politics sets 'low' and 'high' levels. By default, 'low' and 'high' are INFO and WARN.
Levels below 'low' are "traces" (TRACE and DEBUG by default).
Levels above 'high' are "errors" (WARN, ERROR and FATAL by default).

Expand Down
2 changes: 1 addition & 1 deletion src/System/Log.hs
Expand Up @@ -82,7 +82,7 @@
-- withLog l test
-- @
--
-- Politics sets 'low' and 'high' levels. By default, 'low' and 'high' are both INFO. Levels below 'low' are "traces" ('Trace' and 'Debug' by default). Levels above 'high' are "errors" ('Warn', 'Error' and 'Fatal' by default).
-- Politics sets 'low' and 'high' levels. By default, 'low' and 'high' are INFO and WARN. Levels below 'low' are "traces" ('Trace' and 'Debug' by default). Levels above 'high' are "errors" ('Warn', 'Error' and 'Fatal' by default).
--
-- If you set 'low' to 'Trace', all messages will be written. If you set 'low' to 'Debug' and 'high' to 'Fatal', "traces" (in this case only 'Trace') will be never written.
--
Expand Down

0 comments on commit d4d483c

Please sign in to comment.