Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.28 KB

logging_fns.rst

File metadata and controls

39 lines (26 loc) · 1.28 KB

Logging functions

LoggingFunction base class

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

Pre and Post run loggers

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

Mlflow autolog (experimental)

Pypads also support mlflow autologging functionalities. More on that can be found at MLflow.

pypads.injections.loggers.mlflow.mlflow_autolog.MlflowAutologger