Skip to content

Commit

Permalink
CICD: Fix compil include
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Oct 31, 2023
1 parent ccd1ee2 commit 5e6a3ec
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions include/B-luga/Logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
#pragma once

#include <chrono>
#include <functional>
#include <iostream>
#include <sstream>
#include <map>
#include "date/date.h"

#ifdef _WIN32
Expand Down Expand Up @@ -132,9 +134,7 @@ class Logger {
*/
static void debug(const std::string &message)
{
#ifdef NDEBUG
return;
#else
#ifndef NDEBUG
if (getLogLevel() < LogLevel::Debug) {
return;
}
Expand All @@ -151,9 +151,7 @@ class Logger {
*/
static void trace(const std::string &message)
{
#ifdef NDEBUG
return;
#else
#ifndef NDEBUG
if (getLogLevel() < LogLevel::Trace) {
return;
}
Expand Down

0 comments on commit 5e6a3ec

Please sign in to comment.