Package io.rocketbase.commons.logging
Annotation Interface Loggable
this annotation is only working on spring proxied beans!
internal method call within the bean itself will not get logged - other bean calls will work
internal method call within the bean itself will not get logged - other bean calls will work
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanallow to skip args...booleanlog current logged in userbooleanShall we track the duration from start to endNONE will disable error logsbooleanallow to skip results from logintShall we trim long texts in order to make log lines more readable
<= 0 means disable trimming
-
Element Details
-
duration
boolean durationShall we track the duration from start to end- Default:
- true
-
audit
boolean auditlog current logged in user- Default:
- true
-
args
boolean argsallow to skip args...- Default:
- true
-
result
boolean resultallow to skip results from log- Default:
- false
-
logLevel
String logLevel- Default:
- "DEBUG"
-
errorLogLevel
String errorLogLevelNONE will disable error logs- Default:
- "WARN"
-
trimLength
int trimLengthShall we trim long texts in order to make log lines more readable
<= 0 means disable trimming- Default:
- 100
-