'@param loggerName: logger identifier.
@type loggerName: C{str}
@param stackDepth: The depth of the stack to investigate for caller
metadata.
@type stackDepth: L{int}'

def __init__(self, name='twisted', stackDepth=defaultStackDepth):

    self.logger = stdlibLogging.getLogger(name)
    self.logger.findCaller = self._findCaller
    self.stackDepth = stackDepth
