summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorevasquez <eric.vasquez@calxeda.com>2013-12-12 10:35:08 -0600
committerevasquez <eric.vasquez@calxeda.com>2013-12-12 10:35:08 -0600
commit3e9bc7ffbe1185c54d760f246433938dce54f6ce (patch)
treeeb02c2e36b4259ed7854ed4ea4c3bd4816a21bcc
parent03b63ab36f7ea81e7cf88447f2f8af3fecd5e7f8 (diff)
downloadcxmanage-3e9bc7ffbe1185c54d760f246433938dce54f6ce.tar.gz
nojira: fixed typo (copy/paste error)
Signed-off-by: evasquez <eric.vasquez@calxeda.com>
-rw-r--r--cxmanage_api/loggers.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cxmanage_api/loggers.py b/cxmanage_api/loggers.py
index 1e4f4ab..26edf21 100644
--- a/cxmanage_api/loggers.py
+++ b/cxmanage_api/loggers.py
@@ -61,7 +61,7 @@ class Logger(object):
the write() method so that it writes message in the appropriate manner.
>>> # To use this class for inheritance ...
- >>> from cx_automation.loggers import Logger
+ >>> from cxmanage_api.loggers import Logger
>>>
:param log_level: Verbosity level of logging for this logger.
@@ -193,7 +193,7 @@ class StandardOutLogger(Logger):
Only the write method has to be implemented.
>>> # Typical instantiation ...
- >>> from cx_automation.loggers import StandardOutLogger
+ >>> from cxmanage_api.loggers import StandardOutLogger
>>> logger = StandardOutLogger()
@@ -287,13 +287,13 @@ class FileLogger(Logger):
class CompositeLogger(object):
"""Takes a list of loggers and writes the same output to them all.
- >>> from cx_automation.loggers import StandardOutLogger, FileLogger
+ >>> from cxmanage_api.loggers import StandardOutLogger, FileLogger
>>> # Let's say you want to log to a file while also seeing the output.
>>> # Create a StandardOutLogger to 'see' output.
>>> slogger = StandarOutLogger(...)
>>> # Create a FileLogger to log to a file.
>>> flogger = FileLogger(...)
- >>> from cx_automation.loggers import CompositeLogger
+ >>> from cxmanage_api.loggers import CompositeLogger
>>> # Create a composite logger and you can log to both simultaneously!
>>> logger = CompositeLogger(loggers=[slogger, flogger])