Questions tagged «kotlin-logging»

16
Kotlin中的惯用日志记录方式
Kotlin与Java使用的静态字段概念不同。在Java中,通常公认的日志记录方式是: public class Foo { private static final Logger LOG = LoggerFactory.getLogger(Foo.class); } 问题是在Kotlin中执行日志记录的惯用方式是什么?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.