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
T
The type which will be used for naming of the LoggerScope.
identity
The wrapped Logger.