original_string: public static function log($var, $level = 'debug', $depth = 3)
      {
          $source = static::trace(['start' => 1]) . "\n";
          Log::write($level, "\n" . $source . static::exportVar($var, $depth));
      }
code: public static function log($var, $level = 'debug', $depth = 3)
      {
          $source = static::trace(['start' => 1]) . "\n";
          Log::write($level, "\n" . $source . static::exportVar($var, $depth));
      }
code_tokens: public static function log ( $ var , $ level = 'debug' , $ depth = 3 ) { $ source = static :: trace ( [ 'start' => 1 ] ) . "\n" ; Log :: write ( $ level , "\n" . $ source . static :: exportVar ( $ var , $ depth ) ) ; }
docstring: Creates an entry in the log file. The log entry will contain a stack trace from where it was called.
  as well as export the variable using exportVar. By default the log is written to the debug log.
  
  @param mixed $var Variable or content to log.
  @param int|string $level Type of log to use. Defaults to 'debug'.
  @param int $depth The depth to output to. Defaults to 3.
  @return void
docstring_tokens: Creates an entry in the log file . The log entry will contain a stack trace from where it was called . as well as export the variable using exportVar . By default the log is written to the debug log .