gavo.user.logui module
An observer doing logging of warnings, infos, errors, etc.
No synchronization takes place; it’s probably not worth sweating this.
-
class gavo.user.logui.LoggingUI(eh, errorName='dcErrors', infoName='dcInfos')[source]
Bases: ObserverBase
-
logError(message)[source]
-
logInfo(message)[source]
-
logLineFormat = '%(asctime)s [%(levelname)s %(process)s] %(message)s'
-
logOldException(res)[source]
-
logWarning(message)[source]
-
gavo.user.logui.addRequestURI(msg)[source]
adds info on the request URI to msg if we seem to handle a request.
(which, technically, we determine by trying to steal a request variable
from upstack).
-
gavo.user.logui.stringify(s)[source]