#1075: Ditch Dabo's logger objects; use Python's logging
--------------------------+-------------------------------------------------
  Reporter:  paul         |       Owner:  dj      
      Type:  enhancement  |      Status:  reopened
  Priority:  minor        |   Milestone:  0.9     
 Component:  ui           |     Version:          
Resolution:               |    Keywords:          
--------------------------+-------------------------------------------------
Comment (by dj):

 Ahh, now that I go review Pythons logger I remember why I didnt use it in
 the first place and used a bitwise method for determining the level.

 I used bitwise so I could turn on or off specific logging levels (This is
 achievable with the python list, I just didnt think about it when I wrote
 it)

 I did not use the python logger because of the same reasons. If I wanted
 to turn on my debugging statements it would also turn on all levels above
 it. So say I add a Custom level DB, where do I put it, above or below
 INFO. If I want DB statements, but not INFO statements I put it above, but
 then if I want INFO statements and not DB's I need to put it bellow.
 Either that or I have to have separate instances of the logger for each
 level, which would be exactly how you have it now. and Ed seemed to want a
 single instance that mapped directly to dabo instead of
 dabo.loggerinstance.write

-- 
Ticket URL: <http://svn.dabodev.com/trac/dabo/ticket/1075#comment:5>
Dabo <http://svn.dabodev.com/trac/dabo>
Trac Page for Dabo


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to