Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
ZEO
Commits
f3a6b8cd
Commit
f3a6b8cd
authored
22 years ago
by
Barry Warsaw
Browse files
Options
Download
Email Patches
Plain Diff
docstring typo
parent
de42b271
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/zLOG/__init__.py
src/zLOG/__init__.py
+2
-2
No files found.
src/zLOG/__init__.py
View file @
f3a6b8cd
...
@@ -46,7 +46,7 @@ The module defines several standard severities:
...
@@ -46,7 +46,7 @@ The module defines several standard severities:
PANIC=300 -- We're dead!
PANIC=300 -- We're dead!
Also, lo
o
ging facilities will normally ignore negative severities.
Also, lo
g
ging facilities will normally ignore negative severities.
To plug in a log handler, simply replace the log_write function
To plug in a log handler, simply replace the log_write function
with a callable object that takes 5 arguments:
with a callable object that takes 5 arguments:
...
@@ -86,7 +86,7 @@ There is a default event logging facility that:
...
@@ -86,7 +86,7 @@ There is a default event logging facility that:
can be overridden with the environment variable EVENT_LOG_SEVERITY
can be overridden with the environment variable EVENT_LOG_SEVERITY
"""
"""
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
from
MinimalLogger
import
log_write
,
log_time
,
severity_string
,
\
from
MinimalLogger
import
log_write
,
log_time
,
severity_string
,
\
_set_log_dest
,
initialize
_set_log_dest
,
initialize
...
...
This diff is collapsed.
Click to expand it.
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