Changeset 3198

Show
Ignore:
Timestamp:
06/22/07 06:20:41 (2 years ago)
Author:
ed
Message:

Added handler methods for the logging calls added in the recent logging changes. This will allow apps to run normally until we can get the new logging system corrected.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/__init__.py

    r3197 r3198  
    137137dbActivityLog.LogObject = None 
    138138 
     139def logInfo(msg, *args, **kwargs): 
     140    infoLog.write(msg) 
     141def logError(msg, *args, **kwargs): 
     142    errorLog.write(msg) 
     143def logDBActivity(msg, *args, **kwargs): 
     144    dbActivityLog.write(msg) 
     145 
     146 
    139147# Import global settings (do this first, as other imports may rely on it): 
    140148from settings import *