original_string: public static function getLog($empty = false)
      {
          $log = self::$log;
          if ($empty) {
              self::emptyLog();
          }
          return $log;
      }
code: public static function getLog($empty = false)
      {
          $log = self::$log;
          if ($empty) {
              self::emptyLog();
          }
          return $log;
      }
code_tokens: public static function getLog ( $ empty = false ) { $ log = self :: $ log ; if ( $ empty ) { self :: emptyLog ( ) ; } return $ log ; }
docstring: Returns all log entries and optionally removes them
  
  @param  bool       $empty
  @return LogEntry[]
docstring_tokens: Returns all log entries and optionally removes them