View Javadoc
1   package com.github.triceo.splitlog.logging;
2   
3   /**
4    * Possible states that Splitlog's internal logging system can be found in.
5    *
6    */
7   enum SplitlogLoggingState {
8   
9       /**
10       * Splitlog will only log if, at the time logging is requested,
11       * {@link SplitlogLoggerFactory#LOGGING_PROPERTY_NAME} system property is
12       * set to {@link SplitlogLoggerFactory#ON_STATE}.
13       */
14      DEFAULT,
15      /**
16       * Splitlog internal logging will be disabled.
17       */
18      OFF,
19      /**
20       * Splitlog internal logging will be enabled, configuration of the appenders
21       * etc. is subject to user settings in the usual logger-specific way.
22       */
23      ON
24  
25  }