Skip to content

Commit

Permalink
Un-deprecate zLOG.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Feb 4, 2007
1 parent e072ac7 commit f8ff55a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions __init__.py
Expand Up @@ -78,7 +78,6 @@
"""

import warnings
from EventLogger import log_write, log_time, severity_string
from traceback import format_exception

Expand Down Expand Up @@ -133,13 +132,6 @@ def LOG(subsystem, severity, summary, detail='', error=None, reraise=None):
error is reraised.
"""

warnings.warn('The zLOG package is deprecated and will be removed in '
'Zope 2.11. Use the Python logging module instead.',
DeprecationWarning,
stacklevel=2)


log_write(subsystem, severity, summary, detail, error)
if reraise and error:
raise error[0], error[1], error[2]
Expand Down

0 comments on commit f8ff55a

Please sign in to comment.