Difference between revisions of "0.22 Python bindings/MythLog"

From MythTV Official Wiki
Jump to: navigation, search
m (partitioning the bindings page)
 
m (Protected "0.22 Python bindings/MythLog": Since this page applies to a historical version of the bindings, it shouldn't see many updates ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(5 intermediate revisions by 3 users not shown)
Line 11: Line 11:
 
=MythLog(level, message, *args, **kwargs)=
 
=MythLog(level, message, *args, **kwargs)=
 
Adds log entry to MythTV using the specified log level tag.
 
Adds log entry to MythTV using the specified log level tag.
 +
 +
[[Category:0.22 Python Bindings]]

Latest revision as of 15:51, 30 September 2010

Adds access to logging functions of MythTV

MythLog(level, format, instance)

level - level of urgency at which to pass log message format - formatted string for printing log messages instance - name of module to print in log messages

MythError(message)

Generates error with message

MythLog(level, message, *args, **kwargs)

Adds log entry to MythTV using the specified log level tag.