When defining a logger for a classing using SLF4J ...
# kotlin-logging
t
When defining a logger for a classing using SLF4J I've always defined the instance of the logger in the companion object for the class. It's as close to the java equivalent of a private static instance as is standard practice in Java. However, I'm curious what the practical difference would be in defining the logger as package private so it's only accessible from that file.