-
Sub-task
-
Resolution: Fixed
-
P4
-
None
-
None
-
None
It's often that logging is used for diagnosis purpose and will need some heavy construction of the log message. However, such logging is often disabled until needed.
Current API takes String as a parameter and will have the message constructed always, by taking a Supplier function instead, the construction of String is deferred until we know it is to be logged by current log level setting.
Current API takes String as a parameter and will have the message constructed always, by taking a Supplier function instead, the construction of String is deferred until we know it is to be logged by current log level setting.