Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_logging.DerivedLogRecord Class Reference
Inheritance diagram for test.test_logging.DerivedLogRecord:
Inheritance graph
[legend]
Collaboration diagram for test.test_logging.DerivedLogRecord:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __str__
def getMessage

Public Attributes

 name
 msg
 args
 levelname
 levelno
 pathname
 filename
 module
 exc_info
 exc_text
 stack_info
 lineno
 funcName
 created
 msecs
 relativeCreated
 thread
 threadName
 processName
 process
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 2029 of file test_logging.py.


Member Function Documentation

def logging.LogRecord.__str__ (   self) [inherited]

Definition at line 306 of file __init__.py.

00306 
00307     def __str__(self):
00308         return '<LogRecord: %s, %s, %s, %s, "%s">'%(self.name, self.levelno,
00309             self.pathname, self.lineno, self.msg)

def logging.LogRecord.getMessage (   self) [inherited]
Return the message for this LogRecord.

Return the message for this LogRecord after merging any user-supplied
arguments with the message.

Definition at line 310 of file __init__.py.

00310 
00311     def getMessage(self):
00312         """
00313         Return the message for this LogRecord.
00314 
00315         Return the message for this LogRecord after merging any user-supplied
00316         arguments with the message.
00317         """
00318         msg = str(self.msg)
00319         if self.args:
00320             msg = msg % self.args
00321         return msg
00322 
00323 #
00324 #   Determine which class to use when instantiating log records.
#

Member Data Documentation

Definition at line 263 of file __init__.py.

Definition at line 278 of file __init__.py.

Definition at line 273 of file __init__.py.

Definition at line 274 of file __init__.py.

Definition at line 268 of file __init__.py.

Definition at line 277 of file __init__.py.

Definition at line 264 of file __init__.py.

Definition at line 265 of file __init__.py.

Definition at line 276 of file __init__.py.

Definition at line 269 of file __init__.py.

Definition at line 279 of file __init__.py.

logging.LogRecord.msg [inherited]

Definition at line 247 of file __init__.py.

Definition at line 246 of file __init__.py.

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Definition at line 266 of file __init__.py.

Definition at line 302 of file __init__.py.

Definition at line 288 of file __init__.py.

Definition at line 280 of file __init__.py.

Definition at line 275 of file __init__.py.

Definition at line 282 of file __init__.py.

Definition at line 283 of file __init__.py.


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