Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 393B210FA5 for ; Mon, 3 Feb 2014 22:13:20 +0000 (UTC) Received: (qmail 3319 invoked by uid 500); 3 Feb 2014 22:12:25 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 2943 invoked by uid 500); 3 Feb 2014 22:12:19 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 2843 invoked by uid 99); 3 Feb 2014 22:12:17 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 22:12:17 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 3DD3E9189F1; Mon, 3 Feb 2014 22:12:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davisp@apache.org To: commits@couchdb.apache.org Date: Mon, 03 Feb 2014 22:12:33 -0000 Message-Id: <1ac408de30324b3e9d6f911adafb3e05@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [19/29] twig commit: updated refs/heads/import to 2d56280 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 Authored: Wed Mar 9 13:25:11 2011 -0500 Committer: Adam Kocoloski 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;