private static function _logToFile($msg)
    {
        if (is_null(self::$_file) || (is_string(self::$_file) && !self::_openLogFile())) {
            return false;
        }
        return fwrite(self::$_file, "$msg\n");
    }
private static function _logToFile($msg)
    {
        if (is_null(self::$_file) || (is_string(self::$_file) && !self::_openLogFile())) {
            return false;
        }
        return fwrite(self::$_file, "$msg\n");
    }
private static function _logToFile ( $ msg ) { if ( is_null ( self :: $ _file ) || ( is_string ( self :: $ _file ) && ! self :: _openLogFile ( ) ) ) { return false ; } return fwrite ( self :: $ _file , "$msg\n" ) ; }
Write a message on file

@param string $msg message

@return true or false
Write a message on file