File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
modules/android/examples/snippets/app/src/main/java/com/couchbase/code_snippets Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -249,8 +249,6 @@ public void testLogging() {
249
249
250
250
public void testEnableCustomLogging () {
251
251
// tag::set-custom-logging[]
252
- // this custom logger will never be asked to log an event
253
- // with a log level < WARNING
254
252
Database .log .setCustom (new LogTestLogger (LogLevel .WARNING )); // <.>
255
253
// end::set-custom-logging[]
256
254
}
@@ -1497,8 +1495,6 @@ class LogTestLogger implements Logger {
1497
1495
1498
1496
@ Override
1499
1497
public void log (@ NonNull LogLevel level , @ NonNull LogDomain domain , @ NonNull String message ) {
1500
- // this method will never be called if param level < this.level
1501
- // handle the message, for example piping it to a third party framework
1502
1498
}
1503
1499
}
1504
1500
// end::custom-logging[]
You can’t perform that action at this time.
0 commit comments