[GRIFFIN-267] use call by name for Loggable trait

Author: Johnnie <joohnnie.z@gmail.com>
Author: Johnnie Zhang <yixizhang@ebay.com>

Closes #510 from joohnnie/GRIFFIN-267.
diff --git a/measure/src/main/scala/org/apache/griffin/measure/Loggable.scala b/measure/src/main/scala/org/apache/griffin/measure/Loggable.scala
index 558eb6d..dc4db7b 100644
--- a/measure/src/main/scala/org/apache/griffin/measure/Loggable.scala
+++ b/measure/src/main/scala/org/apache/griffin/measure/Loggable.scala
@@ -35,27 +35,27 @@
     logger.getLevel
   }
 
-  protected def info(msg: String): Unit = {
+  protected def info(msg: => String): Unit = {
     logger.info(msg)
   }
 
-  protected def debug(msg: String): Unit = {
+  protected def debug(msg: => String): Unit = {
     logger.debug(msg)
   }
 
-  protected def warn(msg: String): Unit = {
+  protected def warn(msg: => String): Unit = {
     logger.warn(msg)
   }
 
-  protected def warn(msg: String, e: Throwable): Unit = {
+  protected def warn(msg: => String, e: Throwable): Unit = {
     logger.warn(msg, e)
   }
 
-  protected def error(msg: String): Unit = {
+  protected def error(msg: => String): Unit = {
     logger.error(msg)
   }
 
-  protected def error(msg: String, e: Throwable): Unit = {
+  protected def error(msg: => String, e: Throwable): Unit = {
     logger.error(msg, e)
   }