@Target(value={METHOD,TYPE})
 @Retention(value=RUNTIME)
 @Inherited
 @Documented
public @interface Logging
    @Logging(ignoreAllArgumentValues=true)
    public SomeString setSomeLargeString(String aVeryLargeString);
    
    @Logging(ignoreAllArgumentValues=true)
    public User saveUser(User userToSave, String password);
    
    @Logging(ignoredArgumentIndexes={1})
    public User saveUser(User userToSave, String password);
  LoggingAdvice| Modifier and Type | Optional Element and Description | 
|---|---|
boolean | 
ignore
If set to true, suppress any automatic OpenMRS logging of this method (E.g. 
 | 
boolean | 
ignoreAllArgumentValues
If set to true, the annotated method will not print out the contents of the arguments every
 time this method is accessed and logged. 
 | 
int[] | 
ignoredArgumentIndexes
This list should set the argument indexes that should not be printed. 
 | 
public abstract boolean ignore
public abstract boolean ignoreAllArgumentValues
public abstract int[] ignoredArgumentIndexes
Logging annotation has set ignoreAllArgumentValues() to
 trueCopyright © 2018 OpenMRS Inc.. All Rights Reserved.