1 # Copyright (C) 2014 Ipsilon Project Contributors
3 # See the file named COPYING for the project license
11 def debug(self, fact):
12 if cherrypy.config.get('debug', False):
14 cherrypy.log('DEBUG(%s): %s' % (s[1][3], fact))
16 # for compatibility with existing code
22 def error(self, fact):
23 cherrypy.log.error('ERROR: %s' % fact)