Kibana logger quiestion

Hi team, writing custom plugin and want to use kibana logging feature from this to log my plugin events with native kibana instrument. So can anybody please provide some working logger snippet of code for Kibana 6.7 ?

can anybody help me?

The logger is exposed on the server object. Just call server.log