angelos.server.logger

Logger service that offers specialized logs.

class angelos.server.logger.EncryptedLogFileObject(filename: unicode, secret: bytes, mode: unicode = 'r')

Bases: angelos.archive7.streams.VirtualFileObject

File object with support for encrypted streams.

class angelos.server.logger.EncryptedRotatingFileHandler(filename: unicode, secret: bytes, mode: unicode = 'a', max_bytes: int = 2097152, backup_count: int = 0, encoding: unicode = None, delay: int = False)

Bases: logging.handlers.RotatingFileHandler

Encrypted rotating file handler for encrypted logging.

class angelos.server.logger.Logger(secret: bytes, path: pathlib.Path)

Bases: object

Logger that is initiated together with the IoC.