src/Utils/LiteLogger.php
public function flush()
    {
        if ($this->recordSize === 0) {
            return;
        }

        $str = '';
        foreach ($this->records as $record) {
            $str .= $this->recordFormat($record);
        }

        $this->clear();
        $this->write($str);
    }
public function flush()
    {
        if ($this->recordSize === 0) {
            return;
        }

        $str = '';
        foreach ($this->records as $record) {
            $str .= $this->recordFormat($record);
        }

        $this->clear();
        $this->write($str);
    }
public function flush ( ) { if ( $ this -> recordSize === 0 ) { return ; } $ str = '' ; foreach ( $ this -> records as $ record ) { $ str .= $ this -> recordFormat ( $ record ) ; } $ this -> clear ( ) ; $ this -> write ( $ str ) ; }
flush data to file.
@throws \Inhere\Exceptions\FileSystemException
flush data to file .