diff options
| author | Jack Koenig | 2021-04-19 14:11:21 -0700 |
|---|---|---|
| committer | GitHub | 2021-04-19 21:11:21 +0000 |
| commit | 0a1aa5f56fe5eb563de7c33faa8eae33caa65441 (patch) | |
| tree | c6b8772ef65402c221b15fbc79ecfcc0344217f3 /src/main/scala/logger | |
| parent | 9c868ca02e5eb99bc317f92fd75252e0ab9fb7a2 (diff) | |
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>
Diffstat (limited to 'src/main/scala/logger')
| -rw-r--r-- | src/main/scala/logger/Logger.scala | 1 |
1 files changed, 1 insertions, 0 deletions
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 } /** |
