File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
228228Use cases:
229229- Development diagnostics in the browser
@@ -233,7 +233,7 @@ Use cases:
233233Example:
234234``` java
235235LoggingRouter . setDefaultAdapter(new ConsoleLoggingAdapter ());
236- LoggingRouter . register(" DEBUG_TREE " , new ConsoleTreeLoggingAdapter ());
236+ LoggingRouter . register(" COMPOSITE_LOG " , new CompositeLoggingAdapter ( new ConsoleLoggingAdapter (), new RemoteLoggingAdapter ());
237237```
238238
239239
You can’t perform that action at this time.
0 commit comments