From 0a1aa5f56fe5eb563de7c33faa8eae33caa65441 Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Mon, 19 Apr 2021 14:11:21 -0700 Subject: Hoist Transform timing to the Phase level (#2190) With Stage/Phase, users can provide complex functionality at the phase level rather than just the transform level. It is useful to have the same logging information at that level. Note that this change still logs transforms in the same way, but now the time in inclusive of annotation renaming which can also [unfortunately] be slow. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>--- src/main/scala/logger/Logger.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/scala/logger') diff --git a/src/main/scala/logger/Logger.scala b/src/main/scala/logger/Logger.scala index 20c1338e..09fc0924 100644 --- a/src/main/scala/logger/Logger.scala +++ b/src/main/scala/logger/Logger.scala @@ -47,6 +47,7 @@ object LogLevel extends Enumeration { */ trait LazyLogging { protected val logger = new Logger(this.getClass.getName) + def getLogger: Logger = logger } /** -- cgit v1.2.3