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;