custom bash seelog function