Fix deprecation warning.
This commit is contained in:
parent
05bc56dbba
commit
3fbc8bb397
|
@ -642,7 +642,7 @@ final class SyslogLogger(OutputStream) : Logger {
|
||||||
string m_hostName;
|
string m_hostName;
|
||||||
string m_appName;
|
string m_appName;
|
||||||
OutputStream m_ostream;
|
OutputStream m_ostream;
|
||||||
Facility m_facility;
|
SyslogFacility m_facility;
|
||||||
}
|
}
|
||||||
|
|
||||||
deprecated("Use `SyslogFacility` instead.")
|
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
|
Logger uses the stream's write function when it logs and would hence
|
||||||
log forevermore.
|
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_hostName = hostName != "" ? hostName : NILVALUE;
|
||||||
m_appName = appName != "" ? appName : NILVALUE;
|
m_appName = appName != "" ? appName : NILVALUE;
|
||||||
|
|
Loading…
Reference in a new issue