mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-04 03:31:42 +02:00
Enhancement: log to syslog server instead of web-serial
This commit is contained in:
parent
69cdacaac7
commit
21848bd5ae
3 changed files with 16 additions and 0 deletions
|
@ -82,6 +82,9 @@ void app::setup() {
|
|||
|
||||
mApi.setup(this, &mSys, mWeb.getWebSrvPtr(), mConfig);
|
||||
|
||||
#ifdef ENABLE_SYSLOG
|
||||
mDbgSyslog.setup(mConfig); // be sure to init after mWeb.setup (webSerial uses also debug callback)
|
||||
#endif
|
||||
// Plugins
|
||||
#if defined(PLUGIN_DISPLAY)
|
||||
if (mConfig->plugin.display.type != 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue