/** * Switch ON the debug mode * * @param string $log_file */ static final function logOn($log_file = 'div.log') { self::$__log_mode = true; self::$__log_file = $log_file; self::log('Starting div with logs...'); }