Changes between Version 3 and Version 4 of PythonTracLogHandlerIntegration


Ignore:
Timestamp:
Jan 18, 2008 4:37:58 PM (7 years ago)
Author:
mitsuhiko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PythonTracLogHandlerIntegration

    v3 v4  
    2626import trachandler 
    2727import logging 
    28 handler = trachandler.TracHandler("http://example.org/trac") 
     28handler = trachandler.TracHandler('http://example.org/trac') 
    2929logging.getLogger().addHandler(handler) 
    3030}}}