File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
samples/snippets/src/main
java/com/example/logging/logback Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1616
1717package com .example .logging .logback ;
1818
19- // [START logback_quickstart ]
19+ // [START logging_logback_quickstart ]
2020
2121import org .slf4j .Logger ;
2222import org .slf4j .LoggerFactory ;
@@ -29,4 +29,4 @@ public static void main(String[] args) {
2929 logger .error ("Logging ERROR with Logback" );
3030 }
3131}
32- // [END logback_quickstart ]
32+ // [END logging_logback_quickstart ]
Original file line number Diff line number Diff line change 1313 See the License for the specific language governing permissions and
1414 limitations under the License.
1515-->
16- <!-- [START logback_config ] -->
16+ <!-- [START logging_logback_config ] -->
1717<configuration >
1818 <appender name =" CLOUD" class =" com.google.cloud.logging.logback.LoggingAppender" >
1919 <!-- Optional : filter logs at or above a level -->
3030 <appender-ref ref =" CLOUD" />
3131 </root >
3232</configuration >
33- <!-- [END logback_config ] -->
33+ <!-- [END logging_logback_config ] -->
You can’t perform that action at this time.
0 commit comments