Skip to content

Commit e7e4fc2

Browse files
committed
Adjust comments
1 parent af16e2a commit e7e4fc2

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

google-cloud-logging/src/main/java/com/google/cloud/logging/LoggingHandler.java

+21-22
Original file line numberDiff line numberDiff line change
@@ -64,33 +64,32 @@
6464
* specified default values are used.
6565
*
6666
* <ul>
67-
* <li>{@code com.google.cloud.logging.LoggingHandler.log} the log name (defaults to {@code
68-
* java.log}).
69-
* <li>{@code com.google.cloud.logging.LoggingHandler.level} specifies the default level for the
70-
* 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}).
75-
* <li>{@code com.google.cloud.logging.LoggingHandler.flushSize} specifies the maximum size of the
76-
* log buffer. Once reached, logs are transmitted to the Stackdriver Logging service (defaults
77-
* to 1).
78-
* <li>{@code com.google.cloud.logging.LoggingHandler.flushLevel} specifies the flush log level.
79-
* When a log with this level is published, logs are transmitted to the Stackdriver Logging
80-
* service (defaults to {@link LoggingLevel#ERROR}).
81-
* <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).
84-
* <li>{@code com.google.cloud.logging.LoggingHandler.resourceType} the type name to use when
85-
* creating the default {@link MonitoredResource} (defaults to "global").
86-
* <li>{@code com.google.cloud.logging.WriteLogMethod} the type of write method to use to write
87-
* logs to the Stackdriver Logging service (defaults to {@link WriteLogMethod#ASYNC}).
67+
* <li>{@code com.google.cloud.logging.LoggingHandler.log} the log name (defaults to {@code
68+
* java.log}).
69+
* <li>{@code com.google.cloud.logging.LoggingHandler.level} specifies the default level for the
70+
* 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}).
75+
* <li>{@code com.google.cloud.logging.LoggingHandler.flushSize} specifies the maximum size of the
76+
* log buffer. Once reached, logs are transmitted to the Stackdriver Logging service (defaults
77+
* to 1).
78+
* <li>{@code com.google.cloud.logging.LoggingHandler.flushLevel} specifies the flush log level.
79+
* When a log with this level is published, logs are transmitted to the Stackdriver Logging
80+
* service (defaults to {@link LoggingLevel#ERROR}).
81+
* <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).
84+
* <li>{@code com.google.cloud.logging.LoggingHandler.resourceType} the type name to use when
85+
* creating the default {@link MonitoredResource} (defaults to "global").
86+
* <li>{@code com.google.cloud.logging.WriteLogMethod} the type of write method to use to write
87+
* logs to the Stackdriver Logging service (defaults to {@link WriteLogMethod#ASYNC}).
8888
* </ul>
8989
*
9090
* <p>To add a {@code LoggingHandler} to an existing {@link Logger} and be sure to avoid infinite
9191
* recursion when logging, use the {@link #addHandler(Logger, LoggingHandler)} method. Alternatively
9292
* you can add the handler via {@code logging.properties}. For example using the following line:
93-
*
9493
* <pre>
9594
* {@code com.example.mypackage.handlers=com.google.cloud.logging.LoggingHandler}
9695
* </pre>

0 commit comments

Comments
 (0)