You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but there is no defer in place and so the argument will be rendered (taking up memory) even if the statement never gets logged.
Lazy logging should be able to ameliorate this somewhat, and the defer itself does add a small amount of allocation in the wrapper... so maybe make this optional?
The text was updated successfully, but these errors were encountered:
From logfellow/logstash-logback-encoder#396
Arguments are resolved through
https://github.com/tersesystems/blindsight/blob/master/logstash/src/main/scala/com/tersesystems/blindsight/logstash/LogstashArgumentResolver.scala
but there is no defer in place and so the argument will be rendered (taking up memory) even if the statement never gets logged.
Lazy logging should be able to ameliorate this somewhat, and the defer itself does add a small amount of allocation in the wrapper... so maybe make this optional?
The text was updated successfully, but these errors were encountered: