diff options
author | ael-code <tommy.ael@gmail.com> | 2016-11-11 11:35:28 +0100 |
---|---|---|
committer | ael-code <tommy.ael@gmail.com> | 2016-11-25 17:37:28 +0100 |
commit | a0c96c634d14f3d40bf4b06d8a6f23dd431c91b8 (patch) | |
tree | c1354f17193aec7f24e82d5d9ca472914a710cfd /doc | |
parent | 3b7a9b18507261b7e734ec4d8180b71e199e3b21 (diff) | |
download | ranger-a0c96c634d14f3d40bf4b06d8a6f23dd431c91b8.tar.gz |
Expose logging facilities to commands
All the subclass of the Command class can now use the the class object `Command.log` for logging pourposes. This is a standard `logging.Logger` instance, thus the standard logging api must be used. Example: ``` class dummy_cmd(Command): def execute(self): self.log.info("the dummy command has been invoked") ```
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions