Commit fe5d4a48 authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

NullHandler

parent 112ac3c7
......@@ -9,5 +9,8 @@ import logging
from .exceptions import *
from .mkv import *
class NullHandler(logging.Handler):
def emit(self, record):
pass
logging.getLogger(__name__).addHandler(logging.NullHandler())
logging.getLogger(__name__).addHandler(NullHandler())
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment