made AddSyslogEndpoint public