1 | 2 | 3 | 4 | 5 | 6 | 7  Next
All Samples(16540)  |  Call(15427)  |  Derive(0)  |  Import(1113)
Return a logger with the specified name, creating it if necessary.

If no name is specified, return the root logger.

All Samples(10569)  |  Call(10083)  |  Derive(0)  |  Import(486)
No Document.

All Samples(10569)  |  Call(10083)  |  Derive(0)  |  Import(486)
Log a message with severity 'DEBUG' on the root logger.

All Samples(8463)  |  Call(7746)  |  Derive(0)  |  Import(717)
No Document.

All Samples(8463)  |  Call(7746)  |  Derive(0)  |  Import(717)
int(x[, base]) -> integer

Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.  If base is zero, the proper base is guessed based on the
string content.  If the argument is outside the integer range a
long object will be returned instead.

All Samples(3697)  |  Call(3571)  |  Derive(0)  |  Import(126)
No Document.

All Samples(3697)  |  Call(3571)  |  Derive(0)  |  Import(126)
Log a message with severity 'ERROR' on the root logger.

All Samples(2189)  |  Call(1866)  |  Derive(0)  |  Import(323)
No Document.

All Samples(2189)  |  Call(1866)  |  Derive(0)  |  Import(323)
int(x[, base]) -> integer

Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.  If base is zero, the proper base is guessed based on the
string content.  If the argument is outside the integer range a
long object will be returned instead.

All Samples(1551)  |  Call(1438)  |  Derive(49)  |  Import(64)
A handler class which writes logging records, appropriately formatted,
to a stream. Note that this class does not close the stream, as
sys.stdout or sys.stderr may be used.

All Samples(2522)  |  Call(2494)  |  Derive(0)  |  Import(28)
Do basic configuration for the logging system.

This function does nothing if the root logger already has handlers
configured. It is a convenience method intended for use by simple scripts
to do one-shot configuration of the logging package.

The default behaviour is to create a StreamHandler which writes to
sys.stderr, set a formatter using the BASIC_FORMAT format string, and
add the handler to the root logger.
(more...)

All Samples(1605)  |  Call(1319)  |  Derive(0)  |  Import(286)
No Document.

All Samples(1605)  |  Call(1319)  |  Derive(0)  |  Import(286)
Log a message with severity 'WARNING' on the root logger.

All Samples(1690)  |  Call(1533)  |  Derive(117)  |  Import(40)
Formatter instances are used to convert a LogRecord to text.

Formatters need to know how a LogRecord is constructed. They are
responsible for converting a LogRecord to (usually) a string which can
be interpreted by either a human or an external system. The base Formatter
allows a formatting string to be specified. If none is supplied, the
default value of "%s(message)\n" is used.

The Formatter can be initialized with a format string which makes use of
knowledge of the LogRecord attributes - e.g. the default value mentioned(more...)

All Samples(681)  |  Call(0)  |  Derive(646)  |  Import(35)
Handler instances dispatch logging events to specific destinations.

The base handler class. Acts as a placeholder which defines the Handler
interface. Handlers can optionally use Formatter instances to format
records as desired. By default, no formatter is specified; in this case,
the 'raw' message as determined by record.message is logged.

All Samples(462)  |  Call(0)  |  Derive(0)  |  Import(462)
Additional handlers for the logging package for Python. The core package is
based on PEP 282 and comments thereto in comp.lang.python, and influenced by
Apache's log4j system.

Copyright (C) 2001-2010 Vinay Sajip. All Rights Reserved.

To use, simply 'import logging.handlers' and log away!

All Samples(610)  |  Call(502)  |  Derive(74)  |  Import(34)
A handler class which writes formatted logging records to disk files.

All Samples(408)  |  Call(357)  |  Derive(0)  |  Import(51)
No Document.

All Samples(408)  |  Call(357)  |  Derive(0)  |  Import(51)
Log a message with severity 'CRITICAL' on the root logger.

All Samples(321)  |  Call(157)  |  Derive(47)  |  Import(117)
No Document.

  1 | 2 | 3 | 4 | 5 | 6 | 7  Next