Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

root / entrouvert @ 2315973d

Name Size Revision Age Author Comment
  djommon cffad1de almost 12 years Benjamin Dauvergne djommon: add decorated_include utility extracte...
  logging 85fba042 almost 12 years Benjamin Dauvergne logging: add a decorator to log timing of funct...
  wsgi 2315973d over 11 years Frédéric Péters version middleware: fix auquotidien package name
__init__.py 20 Bytes b2a0ddcf almost 12 years Benjamin Dauvergne bump release to 1.3

Latest revisions

# Date Author Comment
2315973d 10 August 2013 04:39 PM Frédéric Péters

version middleware: fix auquotidien package name

b894c577 08 August 2013 11:10 AM Jérôme Schneider

add Calebasse into ENTROUVERT_PACKAGES

b2a0ddcf 06 June 2013 12:15 PM Benjamin Dauvergne

bump release to 1.3

85fba042 30 May 2013 10:21 AM Benjamin Dauvergne

logging: add a decorator to log timing of functions or methods

Use it like that:

from entrouvert.logging.decorators import timing
@timing(0, 1, logger='timing')
def method(arg0, arg1):
etc...
return arg0
It will output lines to the logger named 'timing' at the DEBUG level::...
06164659 28 May 2013 10:41 AM Benjamin Dauvergne

logging: set default max_length for syslog lines to 120

69c7c72d 28 May 2013 09:14 AM Benjamin Dauvergne

logging: handlers are old style class, super does not work there

c5e20b7c 28 May 2013 09:03 AM Benjamin Dauvergne

logging: make maximum line length configurable

eaff3538 21 May 2013 06:15 PM Benjamin Dauvergne

logging: remove BOM addition to log messages

6c7f21a1 17 May 2013 06:09 PM Benjamin Dauvergne

bump version to 1.2

26e35159 16 May 2013 05:55 PM Benjamin Dauvergne

logging: add logging handler SysLogHandler

- it properly handle unicode,
- it wraps long content as multiple log lines.

View revisions

Also available in: Atom