From 3a2a20d6fd46f7f36dd8a75eac8be9ac01a79582 Mon Sep 17 00:00:00 2001 From: Jim Lawson Date: Wed, 11 Dec 2019 14:06:08 -0800 Subject: Make the member 'logger' added by the trait LazyLogging protected. (#1271) The switch to using our own Logger triggered a latent bug, described in comments to #1258. Make the `val logger` introduced by the 'trait LazyLogging` protected.--- src/main/scala/logger/Logger.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/scala/logger/Logger.scala b/src/main/scala/logger/Logger.scala index cbbb58c6..a4ec34b1 100644 --- a/src/main/scala/logger/Logger.scala +++ b/src/main/scala/logger/Logger.scala @@ -46,7 +46,7 @@ object LogLevel extends Enumeration { * extend this trait to enable logging in a class you are implementing */ trait LazyLogging { - val logger = new Logger(this.getClass.getName) + protected val logger = new Logger(this.getClass.getName) } /** -- cgit v1.2.3