setLevel($level) ->writer = $writer; } catch (ConfigurationError $e) { self::$instance->error($e->getMessage()); } } }