Skip to content

Commit

Permalink
karm-logger: Fix yapping.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Nov 16, 2024
1 parent f2e1b9c commit 7178b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/karm-logger/logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ inline void _catch(Res<usize> res) {
inline void _log(Level level, Format fmt, Io::_Args &args) {
Logger::_Embed::loggerLock();

if (level.value != -1) {
if (level.value != -2) {
_catch(Io::format(Logger::_Embed::loggerOut(), "{} ", Cli::styled(level.name, level.style)));
_catch(Io::format(Logger::_Embed::loggerOut(), "{}{}:{}: ", Cli::reset().fg(Cli::GRAY_DARK), fmt.loc.file, fmt.loc.line));
}
Expand Down

0 comments on commit 7178b13

Please sign in to comment.