diff --git a/Sources/Logger/Delivery/Logger.swift b/Sources/Logger/Delivery/Logger.swift index f9b29a3..feb303b 100644 --- a/Sources/Logger/Delivery/Logger.swift +++ b/Sources/Logger/Delivery/Logger.swift @@ -28,7 +28,8 @@ public class Logger { return service.fileUrls } - public func optional(_ error: Error?, _ detail: String?) -> Bool { + @discardableResult + public func optional(_ error: Error?, _ detail: String? = nil) -> Bool { service.optional(error, detail) }