0.22 Python bindings/MythLog

From MythTV Official Wiki
Revision as of 15:18, 30 September 2010 by Iamlindoro (talk | contribs) (Reverted edits by Semen (Talk) to last revision by Wagnerrp)

Jump to: navigation, search

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


Generates error with message

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

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