From 35492f18be265b6a5d89423d2a6055418d4ec9ef Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 19 Jun 2023 14:07:56 +0600 Subject: [PATCH] update logging table in kslog --- docs/kslog/logging.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/kslog/logging.md b/docs/kslog/logging.md index 1d7b186..71bb83c 100644 --- a/docs/kslog/logging.md +++ b/docs/kslog/logging.md @@ -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) -``` \ No newline at end of file +```