Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
logging.StrFormatStyle Class Reference
Inheritance diagram for logging.StrFormatStyle:
Inheritance graph
[legend]
Collaboration diagram for logging.StrFormatStyle:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def format
def usesTime

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Static Public Attributes

string default_format = '{message}'
string asctime_format = '{asctime}'
string asctime_search = '{asctime'

Detailed Description

Definition at line 374 of file __init__.py.


Member Function Documentation

def logging.StrFormatStyle.format (   self,
  record 
)

Reimplemented from logging.PercentStyle.

Definition at line 379 of file __init__.py.

00379 
00380     def format(self, record):
00381         return self._fmt.format(**record.__dict__)
00382 

Here is the caller graph for this function:

def logging.PercentStyle.usesTime (   self) [inherited]

Reimplemented in logging.StringTemplateStyle.

Definition at line 368 of file __init__.py.

00368 
00369     def usesTime(self):
00370         return self._fmt.find(self.asctime_search) >= 0

Here is the caller graph for this function:


Member Data Documentation

Reimplemented from logging.PercentStyle.

Definition at line 376 of file __init__.py.

Reimplemented from logging.PercentStyle.

Definition at line 377 of file __init__.py.

Reimplemented from logging.PercentStyle.

Definition at line 375 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.


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