src/Kernel/App.php
public static function log(...$data)
    {
        $filename = static::options('root') . '/storage/log/access';
        if (is_array($data) && count($data) === 1) {
            $data = $data[0];
        }
        return File::write($filename, $data, true);
    }
public static function log(...$data)
    {
        $filename = static::options('root') . '/storage/log/access';
        if (is_array($data) && count($data) === 1) {
            $data = $data[0];
        }
        return File::write($filename, $data, true);
    }
public static function log ( ... $ data ) { $ filename = static :: options ( 'root' ) . '/storage/log/access' ; if ( is_array ( $ data ) && count ( $ data ) === 1 ) { $ data = $ data [ 0 ] ; } return File :: write ( $ filename , $ data , true ) ; }
Create a file with data to be analysed

@param array ...$data
@return int
Create a file with data to be analysed