File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/pages/news/gsoc-2023-kflogger Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ Here is a demo of this working on Android and iOS:
20
20
To use KFlogger, add the following dependency to your ` commonMain ` sourceSet:
21
21
22
22
``` 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
24
25
implementation(" com.buenaflor:kflogger:0.0.3" )
25
26
```
26
27
@@ -34,10 +35,10 @@ class LoggingClass {
34
35
private val logger = KFluentLogger .forEnclosingClass()
35
36
36
37
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" )
41
42
}
42
43
}
43
44
```
You can’t perform that action at this time.
0 commit comments