[doc] Add a log plugin example