Repository: couchdb-couch-log Updated Branches: refs/heads/master e4abbd387 -> cc5540419
Fix couch_log:is_active_level/1 type spec Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/commit/d2e0a9b2 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/tree/d2e0a9b2 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/diff/d2e0a9b2 Branch: refs/heads/master Commit: d2e0a9b228f213beff2dbd78f9ed04e208aee4f5 Parents: e4abbd3 Author: ILYA Khlopotov <iil...@ca.ibm.com> Authored: Tue May 3 07:08:24 2016 -0700 Committer: ILYA Khlopotov <iil...@ca.ibm.com> Committed: Tue May 3 07:08:24 2016 -0700 ---------------------------------------------------------------------- src/couch_log.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/blob/d2e0a9b2/src/couch_log.erl ---------------------------------------------------------------------- diff --git a/src/couch_log.erl b/src/couch_log.erl index 1047c59..678559f 100644 --- a/src/couch_log.erl +++ b/src/couch_log.erl @@ -97,7 +97,7 @@ log(Level, Fmt, Args) -> apply(Backend, Level, [Fmt, Args]) end. --spec is_active_level(atom()) -> boolean. +-spec is_active_level(atom()) -> boolean(). is_active_level(Level) -> CurrentLevel = level_to_atom(config:get("log", "level", "notice")), level_integer(Level) >= level_integer(CurrentLevel).