couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [19/29] twig commit: updated refs/heads/import to 2d56280
Date Mon, 03 Feb 2014 22:12:33 GMT
Add some alternative level names


Project: http://git-wip-us.apache.org/repos/asf/couchdb-twig/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-twig/commit/e583fbdc
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-twig/tree/e583fbdc
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-twig/diff/e583fbdc

Branch: refs/heads/import
Commit: e583fbdc02a8bd4eb411110e24f5e172ed9336ef
Parents: 328e707
Author: Adam Kocoloski <adam@cloudant.com>
Authored: Wed Mar 9 13:25:11 2011 -0500
Committer: Adam Kocoloski <adam@cloudant.com>
Committed: Wed Mar 9 13:25:11 2011 -0500

----------------------------------------------------------------------
 src/twig_util.erl | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-twig/blob/e583fbdc/src/twig_util.erl
----------------------------------------------------------------------
diff --git a/src/twig_util.erl b/src/twig_util.erl
index 943ef1a..88b98ff 100644
--- a/src/twig_util.erl
+++ b/src/twig_util.erl
@@ -18,10 +18,13 @@ level(debug) ->     7;
 level(info) ->      6;
 level(notice) ->    5;
 level(warn) ->      4;
+level(warning) ->   4;
 level(err) ->       3;
+level(error) ->     3;
 level(crit) ->      2;
 level(alert) ->     1;
 level(emerg) ->     0;
+level(panic) ->     0;
 
 level(I) when is_integer(I), I >= 0, I =< 7 ->
     I;


Mime
View raw message