add method.

This commit is contained in:
Hiroki Ohtani
2015-03-16 12:26:15 +09:00
parent 02b573bf5e
commit 9eff63dfa6

View File

@@ -62,3 +62,7 @@ def trace(msg):
def isEnableForError():
return _logger.isEnableFor(logging.ERROR)
def isEnableForDebug():
return _logger.isEnableFor(logging.DEBUG)