Commit 94f21fc9 authored by Jim Fulton's avatar Jim Fulton

Made the register_subsystems call actually record the subsystems

registered so far.
parent 61812ddb
......@@ -199,12 +199,14 @@ def LOG(subsystem, severity, summary, detail='', error=None, reraise=None):
if reraise and error:
raise error[0], error[1], error[2]
_subsystems=[]
def register_subsystem(subsystem):
"""Register a subsystem name
A logging facility might replace this function to collect information about
subsystems used in an application.
"""
_subsystems.append(subsystem)
def log_time():
"""Return a simple time string without spaces suitable for logging
......
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