MCPcopy
hub / github.com/benoitc/gunicorn / exception

Method exception

gunicorn/instrument/statsd.py:56–58  ·  view source on GitHub ↗
(self, msg, *args, **kwargs)

Source from the content-addressed store, hash-verified

54 self.increment("gunicorn.log.warning", 1)
55
56 def exception(self, msg, *args, **kwargs):
57 Logger.exception(self, msg, *args, **kwargs)
58 self.increment("gunicorn.log.exception", 1)
59
60 # Special treatment for info, the most common log level
61 def info(self, msg, *args, **kwargs):

Callers 15

test_statsd_failFunction · 0.95
spawn_workerMethod · 0.45
_safe_writeMethod · 0.45
_handle_connectionMethod · 0.45
_handle_http_requestMethod · 0.45
_handle_http2_requestMethod · 0.45
runMethod · 0.45
load_wsgiMethod · 0.45
runMethod · 0.45
load_wsgiMethod · 0.45
handle_errorMethod · 0.45

Calls 1

incrementMethod · 0.95

Tested by 1

test_statsd_failFunction · 0.76