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