1   package org.slf4j.agent;
2   
3   /**
4    * <p>
5    * All recognized options in the string passed to the java agent. For
6    * "java -javaagent:foo.jar=OPTIONS HelloWorld" this would be "OPTIONS".
7    * </p>
8    * <p>
9    * It is considered to be a list of options separated by (currently) ";", on the
10   * form "option=value". The interpretation of "value" is specific to each
11   * option.
12   * </p>
13   */
14  public class AgentOptions {
15  
16    /**
17     * List of class prefixes to ignore when instrumenting. Note: Classes loaded
18     * before the agent cannot be instrumented.
19     */
20    public static final String IGNORE = "ignore";
21    /**
22     * Indicate the SLF4J level that should be used by the logging statements
23     * added by the agent. Default is "info".
24     */
25    public static final String LEVEL = "level";
26    /**
27     * Indicate that the agent should print out "new java.util.Date()" at the time
28     * the option was processed and at shutdown time (using the shutdown hook).
29     * 
30     */
31    public static final String TIME = "time";
32    /**
33     * Indicate that the agent should log actions to System.err, like adding
34     * logging to methods, etc.
35     * 
36     */
37    public static final String VERBOSE = "verbose";
38  
39  }