/// <summary> /// 로거를 시작한다. 실패하면 예외(<see cref="LoggerException"/>)를 발생시킨다. /// </summary> public void StartIfFailThrow() { StartResultType startResultType = _logger.Start(); if (startResultType != StartResultType.Success) { throw new LoggerException($"{nameof(StartIfFailThrow)}: {startResultType}"); } }
internal LoggerStartException(StartResultType startResult) : base(startResult.ToString()) { StartResult = startResult; }