Difference between revisions of "0.22 Python bindings/MythLog"
From MythTV Official Wiki
m (edit category) |
|||
Line 5: | Line 5: | ||
format - formatted string for printing log messages | format - formatted string for printing log messages | ||
instance - name of module to print in log messages | instance - name of module to print in log messages | ||
− | + | [http://www.ny-liability-insurance.com/ liability insurance ny] | |
=MythError(message)= | =MythError(message)= | ||
Generates error with message | Generates error with message |
Revision as of 13:11, 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 liability insurance ny
MythError(message)
Generates error with message
MythLog(level, message, *args, **kwargs)
Adds log entry to MythTV using the specified log level tag.