Skip to content

Commit

Permalink
chore: remove useless log level
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed Aug 16, 2024
1 parent 2d17e96 commit d3c6ff0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/ll/api/Logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class Logger {
std::optional<std::ofstream> ofs = std::nullopt;
int consoleLevel = -1;
int fileLevel = -1;
int playerLevel = -1;

OutputStream debug;
OutputStream info;
Expand Down
1 change: 0 additions & 1 deletion src/ll/core/CrashLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ static LONG unhandledExceptionFilter(_In_ struct _EXCEPTION_POINTERS* e) {
auto lock = Logger::lock();
try {
crashInfo.date = fmt::format("{:%Y-%m-%d_%H-%M-%S}", fmt::localtime(_time64(nullptr)));
crashInfo.logger.playerLevel = -2;
crashInfo.logger.fileLevel = std::numeric_limits<int>::max();
crashInfo.logger.consoleLevel = std::numeric_limits<int>::max();
crashInfo.logger.info.consoleFormat = {"{0} [{1}] {3}", "{:%T}.{:0>3}", "{}", "", "{}"};
Expand Down

0 comments on commit d3c6ff0

Please sign in to comment.