Skip to content

Commit a4928a4

Browse files
committed
fix readme file
1 parent 7836bf4 commit a4928a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ Notes:
222222
- ConsoleLoggingAdapter
223223
- Straightforward delegation to the browser console with level mapping
224224

225-
- ConsoleTreeLoggingAdapter
226-
- Similar to console, but may present messages in a structured “tree” style
225+
- CompositeLoggingAdapter
226+
- Delegate the log to multiple adapters.
227227

228228
Use cases:
229229
- Development diagnostics in the browser
@@ -233,7 +233,7 @@ Use cases:
233233
Example:
234234
```java
235235
LoggingRouter.setDefaultAdapter(new ConsoleLoggingAdapter());
236-
LoggingRouter.register("DEBUG_TREE", new ConsoleTreeLoggingAdapter());
236+
LoggingRouter.register("COMPOSITE_LOG", new CompositeLoggingAdapter(new ConsoleLoggingAdapter(), new RemoteLoggingAdapter());
237237
```
238238

239239

0 commit comments

Comments
 (0)