diff options
author | Paul Phillips <paulp@improving.org> | 2012-08-16 15:03:33 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-09-01 20:17:23 -0700 |
commit | 455526f52c0d7a98f2b0bef8f29e7fb542bfe600 (patch) | |
tree | 2d9f9452064409bff1a20f9c87985b63abd7fe29 /src/compiler/scala/tools/nsc/backend/opt/InlineExceptionHandlers.scala | |
parent | 75ee65451e9cc6a2f8dcae2b10202a95d99de686 (diff) | |
download | scala-455526f52c0d7a98f2b0bef8f29e7fb542bfe600.tar.gz scala-455526f52c0d7a98f2b0bef8f29e7fb542bfe600.tar.bz2 scala-455526f52c0d7a98f2b0bef8f29e7fb542bfe600.zip |
Large logging cleanup effort.
Quieted down many logging statements which contribute
disproportionate noise. Made others emit something more sensible.
Spent lots of time on the inliner trying to find a regular
format to make the logs more readable. Long way to go here but
it'd be so worth it to have readable logs instead of mind-numbing
indiscriminate text dumps.
Diffstat (limited to 'src/compiler/scala/tools/nsc/backend/opt/InlineExceptionHandlers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/opt/InlineExceptionHandlers.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/opt/InlineExceptionHandlers.scala b/src/compiler/scala/tools/nsc/backend/opt/InlineExceptionHandlers.scala index f1f597322e..98120f0614 100644 --- a/src/compiler/scala/tools/nsc/backend/opt/InlineExceptionHandlers.scala +++ b/src/compiler/scala/tools/nsc/backend/opt/InlineExceptionHandlers.scala @@ -93,10 +93,9 @@ abstract class InlineExceptionHandlers extends SubComponent { val startTime = System.currentTimeMillis currentClass = c - log("Starting " + c) + debuglog("Starting InlineExceptionHandlers on " + c) c.methods foreach applyMethod - - log("Finished " + c + "... " + (System.currentTimeMillis - startTime) + "ms") + debuglog("Finished InlineExceptionHandlers on " + c + "... " + (System.currentTimeMillis - startTime) + "ms") currentClass = null } |