diff options
Diffstat (limited to 'markdown/__init__.py')
-rw-r--r-- | markdown/__init__.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/markdown/__init__.py b/markdown/__init__.py index 38ab9fb..8a473b1 100644 --- a/markdown/__init__.py +++ b/markdown/__init__.py @@ -47,6 +47,10 @@ import codecs import logging from logging import DEBUG, INFO, WARN, ERROR, CRITICAL +def message(level, text): + """ A wrapper method for logging debug messages. """ + logging.getLogger('MARKDOWN').log(level, text) + """ CONSTANTS ============================================================================= @@ -108,9 +112,7 @@ AUXILIARY GLOBAL FUNCTIONS ============================================================================= """ -def message(level, text): - """ A wrapper method for logging debug messages. """ - logging.getLogger('MARKDOWN').log(level, text) + def isBlockLevel(tag): |