invoke

public final LoggerScope invoke(String name, Logger identity)

Creates an instance of LoggerScope with custom name.

Parameters

name

The name of the scope.

identity

The wrapped Logger.


public final LoggerScope invoke<T extends Any>(Logger identity)

Creates an instance of LoggerScope with scope set to class simple name.

Parameters

T

The type which will be used for naming of the LoggerScope.

identity

The wrapped Logger.