invoke
Creates an instance of LoggerScope with custom name.
Parameters
name
The name of the scope.
identity
The wrapped Logger.
Creates an instance of LoggerScope with scope set to class simple name.
Parameters
identity
The wrapped Logger.
Type Parameters
T
The type which will be used for naming of the LoggerScope.