1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-04 00:40:24 +02:00
Commit Graph

1 Commits

Author SHA1 Message Date
0704ca0550 Make logging cost free when there is no output target (#12247)
The logging streams now do almost no work when there is no output target for them.

For example, if LL_VERBOSE has no output targets, then `verbosestream << x` will return a StreamProxy with a null target. Any further `<<` operations applied to it will do nothing.
2022-05-04 20:55:01 +02:00