diff options
| author | Jim Lawson | 2019-12-11 14:06:08 -0800 |
|---|---|---|
| committer | GitHub | 2019-12-11 14:06:08 -0800 |
| commit | 3a2a20d6fd46f7f36dd8a75eac8be9ac01a79582 (patch) | |
| tree | 7a3d4eb368bb922a4f0f1d5be33025ba0aabd5ff /src | |
| parent | 63611adfa39f5082dd0ab0eb4a3d16a80d5636e2 (diff) | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/scala/logger/Logger.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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) } /** |
