get_logger¶
- torchrl.record.loggers.get_logger(logger_type: str, logger_name: str, experiment_name: str, **kwargs) Logger [source]¶
Get a logger instance of the provided logger_type.
- Parameters:
logger_type (str) – One of tensorboard / csv / wandb / mlflow. If empty,
None
is returned.logger_name (str) – Name to be used as a log_dir
experiment_name (str) – Name of the experiment
kwargs (dict[str]) – might contain either wandb_kwargs or mlflow_kwargs