|
53 | 53 | * <tr><td>FINEST</td><td>DEBUG</td></tr> |
54 | 54 | * </table> |
55 | 55 | * |
56 | | - * <p>Original Java logging levels are added as labels (with {@code levelName} and {@code |
57 | | - * levelValue} keys, respectively) to the corresponding Stackdriver Logging {@link LogEntry}. You |
58 | | - * can read entry labels using {@link LogEntry#getLabels()}. To use logging levels that correspond |
59 | | - * to Stackdriver Logging severities you can use {@link LoggingLevel}. |
| 56 | + * <p>Original Java logging levels are added as labels (with {@code levelName} and |
| 57 | + * {@code levelValue} keys, respectively) to the corresponding Stackdriver Logging {@link LogEntry}. |
| 58 | + * You can read entry labels using {@link LogEntry#getLabels()}. To use logging levels that |
| 59 | + * correspond to Stackdriver Logging severities you can use {@link LoggingLevel}. |
60 | 60 | * |
61 | 61 | * <p><b>Configuration</b>: By default each {@code LoggingHandler} is initialized using the |
62 | | - * following {@code LogManager} configuration properties (that you can set in the {@code |
63 | | - * logging.properties} file). If properties are not defined (or have invalid values) then the |
| 62 | + * following {@code LogManager} configuration properties (that you can set in the |
| 63 | + * {@code logging.properties} file). If properties are not defined (or have invalid values) then the |
64 | 64 | * specified default values are used. |
65 | | - * |
66 | 65 | * <ul> |
67 | | - * <li>{@code com.google.cloud.logging.LoggingHandler.log} the log name (defaults to {@code |
68 | | - * java.log}). |
| 66 | + * <li>{@code com.google.cloud.logging.LoggingHandler.log} the log name (defaults to |
| 67 | + * {@code java.log}). |
69 | 68 | * <li>{@code com.google.cloud.logging.LoggingHandler.level} specifies the default level for the |
70 | 69 | * handler (defaults to {@code Level.INFO}). |
71 | | - * <li>{@code com.google.cloud.logging.LoggingHandler.filter} specifies the name of a {@link |
72 | | - * Filter} class to use (defaults to no filter). |
73 | | - * <li>{@code com.google.cloud.logging.LoggingHandler.formatter} specifies the name of a {@link |
74 | | - * Formatter} class to use (defaults to {@link SimpleFormatter}). |
| 70 | + * <li>{@code com.google.cloud.logging.LoggingHandler.filter} specifies the name of a {@link Filter} |
| 71 | + * class to use (defaults to no filter). |
| 72 | + * <li>{@code com.google.cloud.logging.LoggingHandler.formatter} specifies the name of a |
| 73 | + * {@link Formatter} class to use (defaults to {@link SimpleFormatter}). |
75 | 74 | * <li>{@code com.google.cloud.logging.LoggingHandler.flushSize} specifies the maximum size of the |
76 | 75 | * log buffer. Once reached, logs are transmitted to the Stackdriver Logging service (defaults |
77 | 76 | * to 1). |
78 | 77 | * <li>{@code com.google.cloud.logging.LoggingHandler.flushLevel} specifies the flush log level. |
79 | 78 | * When a log with this level is published, logs are transmitted to the Stackdriver Logging |
80 | 79 | * service (defaults to {@link LoggingLevel#ERROR}). |
81 | 80 | * <li>{@code com.google.cloud.logging.LoggingHandler.enhancers} specifies a comma separated list |
82 | | - * of {@link Enhancer} classes. This handler will call each enhancer list whenever it builds a |
83 | | - * {@link MonitoredResource} or {@link LogEntry} instance (defaults to empty list). |
| 81 | + * of {@link Enhancer} classes. This handler will call each enhancer list whenever it builds |
| 82 | + * a {@link MonitoredResource} or {@link LogEntry} instance (defaults to empty list). |
84 | 83 | * <li>{@code com.google.cloud.logging.LoggingHandler.resourceType} the type name to use when |
85 | 84 | * creating the default {@link MonitoredResource} (defaults to "global"). |
86 | 85 | * <li>{@code com.google.cloud.logging.Synchronicity} the synchronicity of the write method to use |
|
0 commit comments