mirror of
https://github.com/InsanusMokrassar/docs.git
synced 2024-12-28 03:27:25 +00:00
update logging table in kslog
This commit is contained in:
parent
e06dc722c6
commit
35492f18be
@ -5,14 +5,14 @@
|
||||
|
||||
As has been said in the [setup](setup.md) section, this library contains next levels of logging with their default representations on each platform:
|
||||
|
||||
| Weight (by order) | LogLevel name | JS | JVM Loggers | Android |
|
||||
| -: | :- | :- | :- | :- |
|
||||
| 0 | DEBUG | console.log | Level.FINEST | Log.d |
|
||||
| 1 | VERBOSE | console.info | Level.FINE | Log.v |
|
||||
| 2 | INFO | console.info | Level.INFO | Log.i |
|
||||
| 3 | WARNING | console.warn | Level.WARNING | Log.w |
|
||||
| 4 | ERROR | console.error | Level.SEVERE | Log.e |
|
||||
| 5 | ASSERT | console.error | Level.SEVERE | Log.wtf |
|
||||
| Weight (by order) | LogLevel name | JS | JVM Loggers | Android |
|
||||
| -: |:-------------:|:-------------:|:-------------:|:-------:|
|
||||
| 0 | DEBUG | console.log | Level.FINEST | Log.d |
|
||||
| 1 | VERBOSE | console.info | Level.FINE | Log.v |
|
||||
| 2 | INFO | console.info | Level.INFO | Log.i |
|
||||
| 3 | WARNING | console.warn | Level.WARNING | Log.w |
|
||||
| 4 | ERROR | console.error | Level.SEVERE | Log.e |
|
||||
| 5 | ASSERT | console.error | Level.SEVERE | Log.wtf |
|
||||
|
||||
Each of these levels have fullname and shortname shortcat extensions:
|
||||
|
||||
@ -123,4 +123,4 @@ logger.l(LogLevel.INFO, "Some your message for this event", throwable)
|
||||
|
||||
// With message and tag as strings
|
||||
logger.l(LogLevel.INFO, tag, "Some your message for this event", throwable)
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user