Skip to content

Commit 3669f9a

Browse files
committed
reducing @info verbosity
still `[` in `boxstr`
1 parent 5a3dfd2 commit 3669f9a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/common/logging.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
using Logging
2+
3+
function meta_formatter(level::LogLevel, args...)
4+
color = Logging.default_logcolor(level)
5+
Info == level && return color, "", ""
6+
Logging.default_metafmt(level, args...)
7+
end
8+
global_logger(ConsoleLogger(stdout, Info; meta_formatter))

0 commit comments

Comments
 (0)