refactor: specify index exports
This commit is contained in:
parent
baaf19be68
commit
a76d47ac8e
@ -1,3 +1,3 @@
|
||||
export * from './logged';
|
||||
export * from './logger';
|
||||
export * from './reflected';
|
||||
export {LoggedRoute, LoggedFunction} from './logged';
|
||||
export {ScopedLogger} from './logger';
|
||||
export {LoggedParamReflectData, InjectLogger, LoggedParam} from './reflected';
|
@ -1,5 +1,5 @@
|
||||
import {Logger} from "@nestjs/common";
|
||||
import ScopedLogger from "./logger";
|
||||
import {ScopedLogger} from "./logger";
|
||||
import {LoggedParamReflectData} from "./reflected";
|
||||
import {loggedParam, scopedLogger} from "./reflected";
|
||||
import objectContainedLogged from "./functions";
|
||||
|
@ -2,7 +2,7 @@ import {Logger} from "@nestjs/common";
|
||||
|
||||
type LogLevel = 'debug' | 'log' | 'warn' | 'verbose' | 'error' | 'fatal';
|
||||
|
||||
export default class ScopedLogger extends Logger {
|
||||
export class ScopedLogger extends Logger {
|
||||
constructor(
|
||||
private logger: Logger,
|
||||
private scope: string,
|
||||
|
Loading…
x
Reference in New Issue
Block a user