kopia lustrzana https://github.com/mobilinkd/NucleoTNC
rodzic
fc7a25c92a
commit
be5e5f0807
|
@ -4,6 +4,9 @@
|
||||||
#include <Log.h>
|
#include <Log.h>
|
||||||
#include "PortInterface.hpp"
|
#include "PortInterface.hpp"
|
||||||
|
|
||||||
|
#include <cstdlib>
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
void log_(int level, const char* fmt, ...)
|
void log_(int level, const char* fmt, ...)
|
||||||
{
|
{
|
||||||
if (level < mobilinkd::tnc::log().level_) return;
|
if (level < mobilinkd::tnc::log().level_) return;
|
||||||
|
@ -34,7 +37,7 @@ Log& log(void) {
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 1
|
#ifdef NUCLEOTNC
|
||||||
void Log::log(Level level, const char* fmt, ...) {
|
void Log::log(Level level, const char* fmt, ...) {
|
||||||
|
|
||||||
if (level < level_) return;
|
if (level < level_) return;
|
||||||
|
|
Ładowanie…
Reference in New Issue