Package moap :: Package util :: Module command :: Class LogCommand
[hide private]
[frames] | no frames]

Class LogCommand

source code

extern.command.command.Command --+
                                 |
       extern.log.log.Loggable --+
                                 |
                                LogCommand

Instance Methods [hide private]
 
__init__(self, parentCommand=None, **kwargs)
Create a new command instance, with the given parent.
source code
 
debug(self, format, *args)
Override me to handle debug output from this class.
source code

Inherited from extern.command.command.Command: addOptions, do, getRootCommand, handleOptions, outputHelp, outputUsage, parse

Inherited from extern.log.log.Loggable: doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Class Variables [hide private]

Inherited from extern.command.command.Command: aliasedSubCommands, aliases, description, name, parentCommand, parser, subCommandClasses, subCommands, summary, usage

Inherited from extern.log.log.Loggable: logCategory

Method Details [hide private]

__init__(self, parentCommand=None, **kwargs)
(Constructor)

source code 

Create a new command instance, with the given parent. Allows for redirecting stdout and stderr if needed. This redirection will be passed on to child commands.

Overrides: extern.command.command.Command.__init__
(inherited documentation)

debug(self, format, *args)

source code 

Override me to handle debug output from this class.

Overrides: extern.log.log.Loggable.debug
(inherited documentation)