public function writeToLog($msg) { // what are we doing? $log = usingLog()->startAction($msg); // all done $log->endAction(); }