Write a message to the log Passes all args and kwargs thru to logging, except for 'level'
(self, msg, level=logging.INFO, *args, **kwargs)
| 148 | # at the top of each of the modules. |
| 149 | # If we want to change the destination of the log messages we can create a log handler. |
| 150 | def log(self, msg, level=logging.INFO, *args, **kwargs): |
| 151 | """ |
| 152 | Write a message to the log |
| 153 | Passes all args and kwargs thru to logging, except for 'level' |
| 154 | """ |
| 155 | warnings.warn("Please create and use a logger using the logging module instead", DeprecationWarning) |
| 156 | logger.log(level, msg, *args, **kwargs) |
| 157 | |
| 158 | def convert(self, *args, **kwargs): |
| 159 | """ |
no test coverage detected