semanticlogger / de.roamingthings.semanticlogger / SemanticLoggerFactory

SemanticLoggerFactory

object SemanticLoggerFactory

This factory is a utility class to produce instances of semantic loggers.

Please note that all methods in LoggerFactory are static.

Author
Alexander Sparkowsky

Functions

getLogger

Create an instance using a class as a name.

fun getLogger(clazz: Class<*>): SemanticLogger

Create an instance using a given name.

fun getLogger(name: String): SemanticLogger

Create an instance using a given logger.

fun getLogger(loggerDelegate: Logger): SemanticLogger