make log() thread-safe by dropping the log level map

Concurrently using the std::map LOG_CONFIG can result in a segmentation fault.

To prevent concurrent access to LOG_CONFIG a new constexpr getLevelFor is introduces analogue to getTagFor.

Merge request reports

Loading