original_string: public static function init($path, $name = 'log', $minimumLevel = self::DEBUG)
      {
          if($path === 'php://output')
          {
              self::$active = true;
          }
          else if(is_writable($path))
          {
              self::$active = true;
          }
          else 
          {
              self::$active = false;
          }
          
          self::$backend = null;
          self::$stream = null;
          self::$name = $name;
          self::$logFilePath = $path;
          self::$minimumLevel = $minimumLevel;
      }
code: public static function init($path, $name = 'log', $minimumLevel = self::DEBUG)
      {
          if($path === 'php://output')
          {
              self::$active = true;
          }
          else if(is_writable($path))
          {
              self::$active = true;
          }
          else 
          {
              self::$active = false;
          }
          
          self::$backend = null;
          self::$stream = null;
          self::$name = $name;
          self::$logFilePath = $path;
          self::$minimumLevel = $minimumLevel;
      }
code_tokens: public static function init ( $ path , $ name = 'log' , $ minimumLevel = self :: DEBUG ) { if ( $ path === 'php://output' ) { self :: $ active = true ; } else if ( is_writable ( $ path ) ) { self :: $ active = true ; } else { self :: $ active = false ; } self :: $ backend = null ; self :: $ stream = null ; self :: $ name = $ name ; self :: $ logFilePath = $ path ; self :: $ minimumLevel = $ minimumLevel ; }
docstring: Initializes the logger.
  
  @param string $path
  @param string $name
  @param integer $minimumLevel
docstring_tokens: Initializes the logger .