diff options
author | Diego <diegolparra@gmail.com> | 2014-04-09 22:17:57 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-04-09 22:17:57 -0300 |
commit | 7eebe28b73d3417579748f6fbf1c3e5f3a0ead8c (patch) | |
tree | b152062350b5d08035f328cb8a027ada8ee222c0 | |
parent | 516be79dc872fff9ea1e818f859a5989f58e3226 (diff) | |
download | Kamon-7eebe28b73d3417579748f6fbf1c3e5f3a0ead8c.tar.gz Kamon-7eebe28b73d3417579748f6fbf1c3e5f3a0ead8c.tar.bz2 Kamon-7eebe28b73d3417579748f6fbf1c3e5f3a0ead8c.zip |
= core: minor cleanup before release
-rw-r--r-- | kamon-core/src/main/resources/reference.conf | 6 | ||||
-rw-r--r-- | kamon-core/src/main/scala/kamon/weaver/logging/KamonWeaverMessageHandler.scala | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index d5ed8825..f29b9220 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -64,6 +64,12 @@ kamon { } weaver { + # AspectJ options supported by LTW + # showWeaveInfo: show informational messages whenever the weaver touches a class file. + # verbose: show informational messages about the weaving process. + # debug: show a messages for each class passed to the weaver indicating whether it was woven, excluded or ignored. + # showWarn: show warning messages about the weaving process. + showWeaveInfo = off verbose = off debug = off diff --git a/kamon-core/src/main/scala/kamon/weaver/logging/KamonWeaverMessageHandler.scala b/kamon-core/src/main/scala/kamon/weaver/logging/KamonWeaverMessageHandler.scala index 1aa0aae0..bf047898 100644 --- a/kamon-core/src/main/scala/kamon/weaver/logging/KamonWeaverMessageHandler.scala +++ b/kamon-core/src/main/scala/kamon/weaver/logging/KamonWeaverMessageHandler.scala @@ -20,6 +20,9 @@ import org.aspectj.bridge.{ IMessage, IMessageHandler } import org.slf4j.LoggerFactory import com.typesafe.config.ConfigFactory +/** + * Implementation of AspectJ's IMessageHandler interface that routes AspectJ weaving messages and controls them through kamon configuration. + */ class KamonWeaverMessageHandler extends IMessageHandler { import IMessage._ |