I am not getting the question. The logging trait does exactly what is says on the box, I don't see what string concatenation has to do with it.
On Sun, Jun 25, 2017 at 11:27 AM, kant kodali <kanth...@gmail.com> wrote: > Hi All, > > I came across this file https://github.com/apache/spark/blob/master/core/ > src/main/scala/org/apache/spark/internal/Logging.scala and I am wondering > what is the purpose of this? Especially it doesn't prevent any string > concatenation and also the if checks are already done by the library itself > right? > > Thanks! > > -- Herman van Hövell Software Engineer Databricks Inc. hvanhov...@databricks.com +31 6 420 590 27 databricks.com [image: http://databricks.com] <http://databricks.com/> [image: Announcing Databricks Serverless. The first serverless data science and big data platform. Watch the demo from Spark Summit 2017.] <http://go.databricks.com/announcing-databricks-serverless>