Print a status message about the logger.
(self)
| 152 | self.log_active_out = self.log_active |
| 153 | |
| 154 | def logstate(self): |
| 155 | """Print a status message about the logger.""" |
| 156 | if self.logfile is None: |
| 157 | print('Logging has not been activated.') |
| 158 | else: |
| 159 | state = self.log_active and 'active' or 'temporarily suspended' |
| 160 | print('Filename :', self.logfname) |
| 161 | print('Mode :', self.logmode) |
| 162 | print('Output logging :', self.log_output) |
| 163 | print('Raw input log :', self.log_raw_input) |
| 164 | print('Timestamping :', self.timestamp) |
| 165 | print('State :', state) |
| 166 | |
| 167 | def log(self, line_mod, line_ori): |
| 168 | """Write the sources to a log. |
nothing calls this directly
no outgoing calls
no test coverage detected