Skip to content

Commit e5bfa32

Browse files
authored
QF210520-2 -- Remove text from custom logger example (#460)
1 parent ce1a808 commit e5bfa32

File tree

1 file changed

+0
-4
lines changed
  • modules/android/examples/snippets/app/src/main/java/com/couchbase/code_snippets

1 file changed

+0
-4
lines changed

modules/android/examples/snippets/app/src/main/java/com/couchbase/code_snippets/Examples.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,6 @@ public void testLogging() {
249249

250250
public void testEnableCustomLogging() {
251251
// tag::set-custom-logging[]
252-
// this custom logger will never be asked to log an event
253-
// with a log level < WARNING
254252
Database.log.setCustom(new LogTestLogger(LogLevel.WARNING)); // <.>
255253
// end::set-custom-logging[]
256254
}
@@ -1497,8 +1495,6 @@ class LogTestLogger implements Logger {
14971495

14981496
@Override
14991497
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
15021498
}
15031499
}
15041500
// end::custom-logging[]

0 commit comments

Comments
 (0)