webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
compat_logging.Manager Class Reference

Public Member Functions

def __init__ (self, rootnode)
 
def getLogger (self, name)
 

Public Attributes

 root
 
 disable
 
 emittedNoHandlerWarning
 
 loggerDict
 

Detailed Description

There is [under normal circumstances] just one Manager instance, which
holds the hierarchy of loggers.

Constructor & Destructor Documentation

◆ __init__()

def compat_logging.Manager.__init__ (   self,
  rootnode 
)
Initialize the manager with the root node of the logger hierarchy.

Member Function Documentation

◆ getLogger()

def compat_logging.Manager.getLogger (   self,
  name 
)
Get a logger with the specified name (channel name), creating it
if it doesn't yet exist.

If a PlaceHolder existed for the specified name [i.e. the logger
didn't exist but a child of it did], replace it with the created
logger and fix up the parent/child references which pointed to the
placeholder to now point to the logger.

Member Data Documentation

◆ disable

compat_logging.Manager.disable

◆ emittedNoHandlerWarning

compat_logging.Manager.emittedNoHandlerWarning

◆ loggerDict

compat_logging.Manager.loggerDict

◆ root

compat_logging.Manager.root

The documentation for this class was generated from the following file: