package Ġcom . k ru . kot boot Ċ Ċ import Ġorg . slf 4 j . Logger Ċ import Ġorg . slf 4 j . LoggerFactory Ċ import Ġorg . springframework . beans . factory . Injection Point Ċ import Ġorg . springframework . boot . Spring Application Ċ import Ġorg . springframework . boot . autoconfigure . SpringBoot Application Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Scope Ċ Ċ @ SpringBoot Application Ċ class ĠApplication Ġ{ ĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġ@ Scope (" prototype ") ĊĠĠĠ Ġfun Ġlogger ( injection Point : ĠInjection Point ): ĠLogger Ġ= ĠLoggerFactory . getLogger ( injection Point . method Parameter !!. containing Class ) Ċ } Ċ Ċ fun Ġmain ( args : ĠArray < String >) Ġ{ ĊĠĠĠ ĠSpring Application . run ( Application :: class . java , Ġ* args ) Ċ } Ċ