Browse Source

Logging API description

tags/build/2.0.0.pre1
Ruud 13 years ago
parent
commit
4ff037546a
  1. 2
      couchpotato/core/plugins/log/main.py

2
couchpotato/core/plugins/log/main.py

@ -27,7 +27,7 @@ class Logging(Plugin):
'desc': 'Remove all the log files' 'desc': 'Remove all the log files'
}) })
addApiView('logging.log', self.log, docs = { addApiView('logging.log', self.log, docs = {
'desc': 'Get the full log file by number', 'desc': 'Log errors',
'params': { 'params': {
'type': {'desc': 'Type of logging, default "error"'}, 'type': {'desc': 'Type of logging, default "error"'},
'**kwargs': {'type':'object', 'desc': 'All other params will be printed in the log string.'}, '**kwargs': {'type':'object', 'desc': 'All other params will be printed in the log string.'},

Loading…
Cancel
Save