Part of twisted.scripts View Source
| Class | ServerOptions | No class docstring; 1/1 methods documented |
| Function | startLogging | Undocumented |
| Class | WindowsApplicationRunner | An ApplicationRunner which avoids unix-specific things. No forking, no PID files, no privileges. |
| Function | _getLogObserver | Create and return a suitable log observer for the given configuration. |
Create and return a suitable log observer for the given configuration.
The observer will go to stdout iflogfilename is empty or
equal to "-". Otherwise, it will go to a file with
that name.
| Parameters | logfilename | The name of the file to which to log, if other than the default.
(type: str
) |
| Returns | An object suitable to be passed to log.addObserver.
| |