Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
9c93f289
Commit
9c93f289
authored
Feb 04, 2007
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Un-deprecate 'zLOG' module.
parent
b42a8094
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
doc/CHANGES.txt
doc/CHANGES.txt
+2
-0
lib/python/zLOG/__init__.py
lib/python/zLOG/__init__.py
+0
-6
No files found.
doc/CHANGES.txt
View file @
9c93f289
...
...
@@ -8,6 +8,8 @@ Zope Changes
Bugs fixed
- Undeprecated 'zLOG', which will remain a backward-compatibility
shim for the Python logging module.
Zope 2.10.2 (2007/01/26)
...
...
lib/python/zLOG/__init__.py
View file @
9c93f289
...
...
@@ -78,7 +78,6 @@ somewhere else.
"""
import
warnings
from
EventLogger
import
log_write
,
log_time
,
severity_string
from
traceback
import
format_exception
...
...
@@ -133,11 +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
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment