Skip to content

Commit 2a4f864

Browse files
committed
MsgPack: set default log level to WARN to avoid CI issues
Not setting the default log level causes a warning on every CI run. Setting it to WARN avoids the warning and is a reasonable default. Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
1 parent 01fd54a commit 2a4f864

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/decoder.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@
66
This Source Code Form is subject to the terms of the Mozilla Public
77
License, v. 2.0. If a copy of the MPL was not distributed with this
88
file, You can obtain one at http://mozilla.org/MPL/2.0/.
9-
109
*/
1110

1211
#ifndef RPCLITE_DECODER_H
1312
#define RPCLITE_DECODER_H
1413

14+
// MsgPack log level
15+
#define DEBUGLOG_DEFAULT_LOG_LEVEL_WARN
16+
1517
#include "MsgPack.h"
1618
#include "transport.h"
1719
#include "rpclite_utils.h"
@@ -343,4 +345,4 @@ class RpcDecoder {
343345

344346
};
345347

346-
#endif
348+
#endif

0 commit comments

Comments
 (0)