Open alpharder opened 4 months ago
.NET-alike generic logger autoinjection:
export class SessionsService { constructor( protected readonly logger: Logger<SessionsService> // results in logger.scoped('SessionsService') autoinjection ) }
I'm not familiar with .NET's logger, but based on your example, I believe this is what ScopedLogger provides (https://github.com/deepkit/deepkit-framework/pull/483)
ScopedLogger
.NET-alike generic logger autoinjection: