r47073 - update names
hawkowl-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Fri, 25 Mar 2016 08:42:34 -0600 (MDT)
| Newsgroups | gmane.comp.python.twisted.commits |
|---|---|
| Message-ID | <[email protected]> |
Author: hawkowl
Date: Fri Mar 25 08:42:29 2016
New Revision: 47073
Modified:
branches/tlogger-twistd-8235/twisted/application/app.py
Log:
update names
Modified: branches/tlogger-twistd-8235/twisted/application/app.py
==============================================================================
--- branches/tlogger-twistd-8235/twisted/application/app.py (original)
+++ branches/tlogger-twistd-8235/twisted/application/app.py Fri Mar 25 08:42:29 2016
@@ -141,8 +141,8 @@
class AppLogger(object):
"""
An L{AppLogger} attaches the configured log observer specified on the
- commandline to a L{ServerOptions} object, a custom L{ILogObserver}, or a
- legacy custom {log.ILogObserver}.
+ commandline to a L{ServerOptions} object, a custom L{logger.ILogObserver},
+ or a legacy custom {log.ILogObserver}.
@ivar _logfilename: The name of the file to which to log, if other than the
default.
@@ -152,7 +152,7 @@
None.
@ivar _observer: log observer added at C{start} and removed at C{stop}.
- @type _observer: a callable that implements L{ILogObserver} or
+ @type _observer: a callable that implements L{logger.ILogObserver} or
L{log.ILogObserver}.
"""
_observer = None
@@ -170,13 +170,13 @@
Initialize the global logging system for the given application.
If a custom logger was specified on the command line it will be used.
- If not, and an L{ILogObserver} or legacy L{log.ILogObserver} component
- has been set on C{application}, then it will be used as the log
- observer. Otherwise a log observer will be created based on the command
- line options for built-in loggers (e.g. C{--logfile}).
+ If not, and an L{logger.ILogObserver} or legacy L{log.ILogObserver}
+ component has been set on C{application}, then it will be used as the
+ log observer. Otherwise a log observer will be created based on the
+ command line options for built-in loggers (e.g. C{--logfile}).
@param application: The application on which to check for an
- L{ILogObserver} or legacy L{log.ILogObserver}.
+ L{logger.ILogObserver} or legacy L{log.ILogObserver}.
@type application: L{twisted.python.components.Componentized}
"""
if self._observerFactory is not None: