Kaydet (Commit) 639f0e24 authored tarafından Vinay Sajip's avatar Vinay Sajip

logging: NullHandler optimisation.

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