dabo Commit Revision 3198 Date: 2007-06-22 06:20:41 -0700 (Fri, 22 Jun 2007) Author: Ed Trac: http://svn.dabodev.com/trac/dabo/changeset/3198
Changed: U trunk/dabo/__init__.py Log: 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. Diff: Modified: trunk/dabo/__init__.py =================================================================== --- trunk/dabo/__init__.py 2007-06-22 13:06:13 UTC (rev 3197) +++ trunk/dabo/__init__.py 2007-06-22 13:20:41 UTC (rev 3198) @@ -136,6 +136,14 @@ dbActivityLog.Caption = "Database Activity Log" dbActivityLog.LogObject = None +def logInfo(msg, *args, **kwargs): + infoLog.write(msg) +def logError(msg, *args, **kwargs): + errorLog.write(msg) +def logDBActivity(msg, *args, **kwargs): + dbActivityLog.write(msg) + + # Import global settings (do this first, as other imports may rely on it): from settings import * _______________________________________________ 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]
