singleton icon indicating copy to clipboard operation
singleton copied to clipboard

[IMPROVEMENTS] Use blocks to log messages of debug level

Open Xiaochao8 opened this issue 2 years ago • 0 comments

In production env, the log level is INFO usually. But in current code, each log message is computed when executing the code line even though the set log level is higher than the level of log message.

Sugest to use a block to compute message. This way, don't need to compute the message values if level of message is under set log level.

Xiaochao8 avatar Jun 02 '22 01:06 Xiaochao8