Editing
Loggifier.unkrig.de
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Loggification rule precedence === The sequence of checked rules for each logging point is as follows: ;If the constructor or method being instrumented has a '@Loggify' annotation (not for action CLINIT) :Its values in reverse order (i.e. the last value/rule takes the highest precedence). ;If a field 'static final String $$loggifierRules = "xyz"' was declared before the contructor or method being instrumented :Its value, split at '\n', in reverse order (i.e. the last fragment/rule takes the highest precedence). ;If the class or interface being instrumented has a '@Loggify' annotation :Its values of in reverse order (i.e. the last value/rule takes the highest precedence). ;If using the four-parameter [[Loggifier.unkrig.de / Tools / LoggifyingClassLoader|LoggifyingClassLoader]] constructor :The 'logLevelCalculator' argument. ;If using the [[Loggifier.unkrig.de / Tools / Ant task|ANT task]] :<code><rule></code> subelements, in reverse order (i.e. the last <code><rule></code> takes the highest precedence). ;If using the [[Loggifier.unkrig.de / Tools / Command line tool|LOGGIFIER command line tool]] :The '-rule' options, in reverse order (i.e. the last '-rule' option takes the highest precedence). ;If using the [[Loggifier.unkrig.de / Tools / Eclipse plug-in|ECLIPSE plug-in]] :The levels on the "Loggifier" property page of each project. (This rule ALWAYS applies, hence the following rules are never executed). ;If using the [[Loggifier.unkrig.de / Tools / Java agent|Java agent]] :Its argument string passed to the agent, split at '\n', in reverse order (i.e. the last fragment/rule takes the highest precedence). ;If the action is LOAD or STORE, and the local variable's name ends with '__' :FINER ;If the action is GET or PUT, and the field's name ends with '__' :FINER ;If the action is NEW, CAST or INSTANCEOF, and the target class's name ends with '__' :FINER ;If the action is ENTRY, RETURN or THROW :FINER ;Last resort (when none of the above rules triggered) :OFF Notice that non-static fields (a.k.a. 'instance variables') are initialized by the class's constructors. Static fields ('class variables') are initialized by the synthetic <code><clinit>()</code> method, which cannot be annotated in source code.
Summary:
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
Unkrig.de:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
What links here
Related changes
Special pages
Page information