To develop custom loggers, we need to write a class that inherits from the base class LoggingFunction. Then, those custom loggers can be mapped to events of the user choice in the parameter mapping of the PyPads class <base_class>
.
pypads.functions.loggers.base_logger.LoggingFunction
Another type of logging functions supported by Pypads is the pre/post run loggers which are executed before and after the run execution respectively.
- Pre Run loggers
pypads.app.injections.run_loggers.PreRunFunction
- Post Run loggers
pypads.app.injections.run_loggers.PostRunFunction
Pypads also support mlflow autologging functionalities. More on that can be found at MLflow.
pypads.injections.loggers.mlflow.mlflow_autolog.MlflowAutologger