Table of Contents

Module: logs ./src/peak/running/logs.py

TODO:

  • Flesh out ILogEvent, docs

  • SysLog and LogTee objects/URLs (low priority; we don't seem to use these at the moment)

Imported modules   
import os
from peak.api import *
from peak.naming import URL
from peak.naming.factories.openable import FileURL
from peak.naming.interfaces import IObjectFactory
from peak.util.imports import whenImported
from socket import gethostname
import sys
from time import time, localtime, strftime
import traceback
Functions   
_levelledMessage
  _levelledMessage 
_levelledMessage ( lvl )

Classes   

AbstractLogger

DefaultLoggingService

Service that supplies loggers

Event

IBasicLogger

A PEP 282 "logger" object, minus configuration methods

ILogEvent

Temporary marker to allow configurable event classes

ILogger

A PEAK logger, with additional (syslog-compatible) level methods

ILoggingService

A service that supplies loggers

LogFile

LogStream

logfileURL

peakLoggerContext

peakLoggerURL

URL that only looks up PEAK loggers, even if logging is installed


Table of Contents

This document was automatically generated on Mon Aug 12 01:11:06 2019 by HappyDoc version 2.1