Kaydet (Commit) 4fbe4b34 authored tarafından Vinay Sajip's avatar Vinay Sajip

logging: NullHandler optimisation.

üst a305ca78
......@@ -1652,9 +1652,15 @@ class NullHandler(Handler):
a NullHandler and add it to the top-level logger of the library module or
package.
"""
def handle(self, record):
pass
def emit(self, record):
pass
def createLock(self):
self.lock = None
# Warnings integration
_warnings_showwarning = None
......
Markdown is supported
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