Skip to content

Commit a3e01d7

Browse files
committed
fix code snippet misspells
1 parent 44c1444 commit a3e01d7

File tree

1 file changed

+6
-5
lines changed
  • src/pages/news/gsoc-2023-kflogger

1 file changed

+6
-5
lines changed

src/pages/news/gsoc-2023-kflogger/index.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ Here is a demo of this working on Android and iOS:
2020
To use KFlogger, add the following dependency to your `commonMain` sourceSet:
2121

2222
```kotlin
23-
// Find the latest version on https://mvnrepository.com/artifact/com.giancarlobuenaflor/kflogger
23+
// Find the latest version
24+
// on https://mvnrepository.com/artifact/com.giancarlobuenaflor/kflogger
2425
implementation("com.buenaflor:kflogger:0.0.3")
2526
```
2627

@@ -34,10 +35,10 @@ class LoggingClass {
3435
private val logger = KFluentLogger.forEnclosingClass()
3536

3637
fun log() {
37-
logger.atWarning().log("string: %s“, “example)
38-
logger.atWarning().log("integer: %d, 1)
39-
logger.atWarning().log(float: %f, 1.0f)
40-
logger.atWarning().log(%d%% %s, 100, chance)
38+
logger.atWarning().log("string: %s", "example")
39+
logger.atWarning().log("integer: %d:", 1)
40+
logger.atWarning().log("float: %f", 1.0f)
41+
logger.atWarning().log("%d%% %s", 100, "chance")
4142
}
4243
}
4344
```

0 commit comments

Comments
 (0)