Fix FEATHER_LOG_COLUMNS :)

This commit is contained in:
DankParrot 2020-08-07 20:01:58 -07:00
parent 383f3122cf
commit a11ad5ba47
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
#include <vector>
#include <array>
//#define FEATHER_Log::COLUMNS
//#define FEATHER_LOG_COLUMNS
namespace Feather::Log
{
@ -105,7 +105,7 @@ namespace Feather::Log
{
std::string_view levelString = GetLevelStringView(level);
std::string_view channelString = m_channels[channel].GetName();
#ifdef FEATHER_Log::COLUMNS
#ifdef FEATHER_LOG_COLUMNS
std::array<char, MaxLevelLength + 1> levelSpaces = {};
std::fill_n(levelSpaces.data(), MaxLevelLength - levelString.size(), ' ');