Abstract matplotlib figure logging from individual logger API
🚀 Feature
Implement default log_figure for all implemented loggers
Motivation
Currently, logging figures relies on calling the API of the individual logger directly. This is not really convenient for a variety of reasons:

It is cumbersome to change loggers
It is cumbersome to disable logging (e.g. for debugging) --> if self.logger is not None: \n[...]
It is not really nice if you have multiple loggers

Pitch
I propose something like
logger.log_figure(figure_name, plt.figure, step, close_figure, kwargs)
where the kwargs are passed on to the respective logger implementation (i.e. if one wants something specific).
Additional context
Should a log_image method also be considered? Should it rather be log_figures (plural, i.e. passing multiple figures)?