From 3fbc8bb3970c266747d3e97b1f29f3ead9972a7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Tue, 12 Jan 2021 10:13:04 +0100 Subject: [PATCH] Fix deprecation warning. --- source/vibe/core/log.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/vibe/core/log.d b/source/vibe/core/log.d index 78e44fc..f625416 100644 --- a/source/vibe/core/log.d +++ b/source/vibe/core/log.d @@ -642,7 +642,7 @@ final class SyslogLogger(OutputStream) : Logger { string m_hostName; string m_appName; OutputStream m_ostream; - Facility m_facility; + SyslogFacility m_facility; } deprecated("Use `SyslogFacility` instead.") @@ -680,7 +680,7 @@ final class SyslogLogger(OutputStream) : Logger { Logger uses the stream's write function when it logs and would hence log forevermore. */ - this(OutputStream stream, Facility facility, string appName = null, string hostName = hostName()) + this(OutputStream stream, SyslogFacility facility, string appName = null, string hostName = hostName()) { m_hostName = hostName != "" ? hostName : NILVALUE; m_appName = appName != "" ? appName : NILVALUE;