2020-06-13 10:56:20 +02:00
|
|
|
//
|
|
|
|
// Created by versustune on 09.06.20.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "Logger.h"
|
2020-07-09 16:31:33 +02:00
|
|
|
#include "JuceHeader.h"
|
2020-06-13 10:56:20 +02:00
|
|
|
|
2020-06-13 16:52:16 +02:00
|
|
|
void VeNo::Logger::debugMessage (const std::string& message)
|
|
|
|
{
|
2020-06-13 10:56:20 +02:00
|
|
|
#ifdef DEBUG
|
|
|
|
std::cout << "\u001b[38;5;172m[DEBUG]\u001b[0m\t" << message << "\n";
|
2020-07-09 16:31:33 +02:00
|
|
|
DBG("\u001b[38;5;172m[DEBUG]\u001b[0m\t" + message + "\n");
|
2020-06-13 10:56:20 +02:00
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
2020-06-13 16:52:16 +02:00
|
|
|
void VeNo::Logger::infoDebugMessage (const std::string& message)
|
|
|
|
{
|
2020-06-13 10:56:20 +02:00
|
|
|
#ifdef DEBUG
|
|
|
|
std::cout << "\u001b[38;5;111m[INFO]\u001b[0m\t" << message << "\n";
|
|
|
|
#endif
|
|
|
|
}
|