Rotary Logger  1.0.2
The middleware rotary logger
Loading...
Searching...
No Matches
rotary_logger.constants.FileInfo Class Reference
Collaboration diagram for rotary_logger.constants.FileInfo:
Collaboration graph

Static Public Attributes

Optional path = None
 
Optional descriptor = None
 
int written_bytes = 0
 

Detailed Description

Container for an open log file.

Attributes:
    path: the Path to the file on disk.
    descriptor: the open file object (text mode) or None.
    written_bytes: number of bytes already written to the file.

Definition at line 141 of file constants.py.

Field Documentation

◆ descriptor

Optional rotary_logger.constants.FileInfo.descriptor = None
static

Definition at line 150 of file constants.py.

◆ path

Optional rotary_logger.constants.FileInfo.path = None
static

Definition at line 149 of file constants.py.

◆ written_bytes

int rotary_logger.constants.FileInfo.written_bytes = 0
static

Definition at line 151 of file constants.py.


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