Jump to navigation
Jump to search
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
fill this in!
=== Discriminator expression parameters === To provide fine-grained control over loggification, the properties of each loggification point are provided as parameters to the discriminator expression: ;action :One of the [[#Logging actions|documented logging actions]] ;source :The name of the Java source file that JAVAC stores in each <code>.class</code> file if enabled by <code>-g:source</code>. ;classAccess :The accessibility of the class being instrumented (<code>public</code>, <code>protected</code> or <code>private</code>) ;class :The fully qualified name of the class being instrumented, e.g. <code>pkg.MyClass</code> ;methodAccess :The accessibility of the method being instrumented (<code>public</code>, <code>protected</code> or <code>private</code>) ;method :The enhanced, dequalified name of the method being instrumented, e.g. <code>meth(String, MyClass)</code> or <code><T extends IOException>meth(T, MyClass, List<T>)</code> ;line :The line number related to the code point being instrumented that JAVAC stores in each .class file if enabled by <code>-g:lines</code> ;type :The relevant type for the operation, e.g. <code>pkg.Class</code>, <code>pkg.Class</code>, <code>int</code> (only for actions '''CAST''', '''INSTANCEOF''' and '''NEW''') ;classAndField :The subject class and field, e.g. <code>pkg.Class.field</code> (only for actions '''GET''' and '''PUT''') ;variable :The name of the subject local variable (only for actions '''LOAD''' and '''STORE''') At each loggification point, the LOGGIFIER determines if logging code is to be inserted or not ('discrimination') and on which level the event will be logged at runtime ('level'). This is achieved by checking the 'loggification rules'.
Please note that all contributions to unkrig.de may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Do not submit copyrighted work without permission!
(opens in new window)
Retrieved from "
Not logged in
What links here