Internal reporting is performed by calling the debug(String), info(String),
warn(String) (String)} error(String) (String)} and
error(String, Throwable) methods.
See SLF4J_INTERNAL_VERBOSITY_KEY and SLF4J_INTERNAL_REPORT_STREAM_KEY for
configuration options.
Note that this system is independent of the logging back-end in use.
| Modifier and Type | Class and Description |
|---|---|
| private static enum | Reporter.
this class is used internally by Reporter |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private static final Reporter. | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| public static final String | SLF4J_INTERNAL_REPORT_STREAM_KEY
This system property controls the target for internal reports output by SLF4J. |
| public static final String | SLF4J_INTERNAL_VERBOSITY_KEY
This system property controls the internal level of chattiness of SLF4J. |
| pack-priv static final String | |
| private static final String[] | |
| private static final Reporter. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static final void | |
| public static final void | |
| private static PrintStream | |
| private static Reporter. | |
| public static void | |
| private static Reporter. | |
| pack-priv static boolean | |
| public static final void |
| INTERNAL_VERBOSITY | back to summary |
|---|---|
| private static final Reporter. | |
| SLF4J_DEBUG_PREFIX | back to summary |
|---|---|
| pack-priv static final String SLF4J_DEBUG_PREFIX | |
| SLF4J_ERROR_PREFIX | back to summary |
|---|---|
| pack-priv static final String SLF4J_ERROR_PREFIX | |
| SLF4J_INFO_PREFIX | back to summary |
|---|---|
| pack-priv static final String SLF4J_INFO_PREFIX | |
| SLF4J_INTERNAL_REPORT_STREAM_KEY | back to summary |
|---|---|
| public static final String SLF4J_INTERNAL_REPORT_STREAM_KEY This system property controls the target for internal reports output by SLF4J. Recognized values for this key are "System.out", "stdout", "sysout", "System.err", "stderr" and "syserr". By default, output is directed to "stderr". | |
| SLF4J_INTERNAL_VERBOSITY_KEY | back to summary |
|---|---|
| public static final String SLF4J_INTERNAL_VERBOSITY_KEY This system property controls the internal level of chattiness of SLF4J. Recognized settings are "INFO", "WARN" and "ERROR". The default value is "INFO". | |
| SLF4J_WARN_PREFIX | back to summary |
|---|---|
| pack-priv static final String SLF4J_WARN_PREFIX | |
| SYSOUT_KEYS | back to summary |
|---|---|
| private static final String[] SYSOUT_KEYS | |
| TARGET_CHOICE | back to summary |
|---|---|
| private static final Reporter. | |
| Reporter | back to summary |
|---|---|
| public Reporter() | |
| debug | back to summary |
|---|---|
| public static void debug(String msg) Report an internal message of level DEBUG. Message text is prefixed with the string "SLF4J(D)", with (D) standing as a shorthand for DEBUG. Messages of level DEBUG are be enabled when the
| |
| error | back to summary |
|---|---|
| public static final void error(String msg, Throwable t) Report an internal message of level "ERROR accompanied by a Messages of level ERROR are always enabled. | |
| error | back to summary |
|---|---|
| public static final void error(String msg) Report an internal message of level "ERROR". Message text is prefixed with the string "SLF4J(E)", with (E) standing as a shorthand for ERROR. Messages of level ERROR are always enabled.
| |
| getTarget | back to summary |
|---|---|
| private static PrintStream getTarget() | |
| getTargetChoice | back to summary |
|---|---|
| private static Reporter. | |
| info | back to summary |
|---|---|
| public static void info(String msg) Report an internal message of level INFO. Message text is prefixed with the string "SLF4J(I)", with (I) standing as a shorthand for INFO. Messages of level INFO are be enabled when the
| |
| initVerbosity | back to summary |
|---|---|
| private static Reporter. | |
| isEnabledFor | back to summary |
|---|---|
| pack-priv static boolean isEnabledFor(Reporter. | |
| warn | back to summary |
|---|---|
| public static final void warn(String msg) Report an internal message of level "WARN". Message text is prefixed with the string "SLF4J(W)", with (W) standing as a shorthand for WARN. Messages of level WARN are be enabled when the
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final Reporter. | |
| public static final Reporter. | |
| public static final Reporter. | |
| pack-priv int | |
| public static final Reporter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public static Reporter. | |
| public static Reporter. |
| DEBUG | back to summary |
|---|---|
| public static final Reporter. | |
| ERROR | back to summary |
|---|---|
| public static final Reporter. | |
| INFO | back to summary |
|---|---|
| public static final Reporter. | |
| levelInt | back to summary |
|---|---|
| pack-priv int levelInt | |
| WARN | back to summary |
|---|---|
| public static final Reporter. | |
| Level | back to summary |
|---|---|
| private Level(int levelInt) | |
| getLevelInt | back to summary |
|---|---|
| private int getLevelInt() | |
| valueOf | back to summary |
|---|---|
| public static Reporter. | |
| values | back to summary |
|---|---|
| public static Reporter. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Reporter. | |
| public static final Reporter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Reporter. | |
| public static Reporter. |
| Stderr | back to summary |
|---|---|
| public static final Reporter. | |
| Stdout | back to summary |
|---|---|
| public static final Reporter. | |
| TargetChoice | back to summary |
|---|---|
| private TargetChoice() | |
| valueOf | back to summary |
|---|---|
| public static Reporter. | |
| values | back to summary |
|---|---|
| public static Reporter. | |