Table of Contents

Module: log | Twisted-0.17.4/twisted/python/log.py
--- | ---

twisted.log: Logfile and multi-threaded file support.

Imported modules |
--- | ---
import cStringIO import failure import os import string import sys import threadable import time
Functions |

_log_output _no_log_output _threaded_msg deferr err | initThreads msg output startLogging write

| _log_output

    _log_output (
            func,
            *args,
            *kw,
            )

| _no_log_output

    _no_log_output (
            func,
            *args,
            *kw,
            )

| _threaded_msg

    _threaded_msg ( stuff )

| deferr

    deferr ()

Write the default failure (the current exception) to the log.

| err

    err ( stuff )

Write a failure to the log.

| initThreads

    initThreads ()

| msg

    msg ( stuff )

Write some data to the log (a linebreak will be appended).

| output

    output (
            func,
            *args,
            *kw,
            )

| startLogging

    startLogging ( file )

Initialize logging to a specified file.

| write

    write ( stuff )

Write some data to the log.

Classes |

Log | This will create a Log file (intended to be written to with
LogOwner | Allow object to register themselves as owners of the log.
Logger | This represents a class which may `own` a log. Used by subclassing.
Output | This represents a class which traps output.
ThreadedLogOwner | Allow object to register themselves as owners of the log, per thread.

Table of Contents

This document was automatically generated on Sat Apr 20 01:31:23 2002 by HappyDoc version 2.0