How to log text with trainer's tensorboard tracking

Hi,
I would like to log some text with tensorboard, such as

tb_writer.write_text(“SOME TEXT”)

How can I access the tensorboard when using trainer?

thanks