mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-05 20:21:38 +02:00
Enhancement: log to syslog server instead of web-serial
This commit is contained in:
commit
30ca3a6e43
5 changed files with 169 additions and 0 deletions
|
@ -78,6 +78,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