xplogger.logger package
Submodules
xplogger.logger.base module
Abstract logger class.
xplogger.logger.filesystem module
Functions to interface with the filesystem.
- class xplogger.logger.filesystem.Logger(config: Dict[str, Any])[source]
Bases:
xplogger.logger.base.LoggerLogger class that writes to the filesystem.
xplogger.logger.localdb module
Functions to interface with local db (a file).
- class xplogger.logger.localdb.Logger(config: Dict[str, Any])[source]
Bases:
xplogger.logger.base.LoggerLogger class that writes to local db (a file).
xplogger.logger.mlflow module
Logger class that writes to mlflow.
- class xplogger.logger.mlflow.Logger(config: Dict[str, Any])[source]
Bases:
xplogger.logger.base.LoggerLogger class that writes to mlflow.
- write(log: Dict[str, Any]) None[source]
Write the log to mlflow.
- Parameters
log (LogType) – Log to write
xplogger.logger.mongo module
Functions to interface with mongodb.
- class xplogger.logger.mongo.Logger(config: Dict[str, Any])[source]
Bases:
xplogger.logger.base.LoggerLogger class that writes to the mongodb.
xplogger.logger.tensorboard module
Logger class that writes to tensorboard.
- class xplogger.logger.tensorboard.Logger(config: Dict[str, Any])[source]
Bases:
xplogger.logger.base.LoggerLogger class that writes to tensorboardX.
- write(log: Dict[str, Any]) None[source]
Write the log to tensorboard.
- Parameters
log (LogType) – Log to write
xplogger.logger.wandb module
Logger class that writes to wandb.
- class xplogger.logger.wandb.Logger(config: Dict[str, Any])[source]
Bases:
xplogger.logger.base.LoggerLogger class that writes to wandb.
- write(log: Dict[str, Any]) None[source]
Write log to wandb.
- Parameters
log (LogType) – Log to write