How to save all args to tensorboard and hparams.yaml file?

Hi

I would like to save not only the model hparams (the self.save_hypterparameters() method in LightningModule class only saves the model hparams), but also would like to save the trainer hparams and my own hparams. Also I would like to log it to tensorboard. Is there a way to do it?

Thanks!