createLogger( path: string[], disableLogging: boolean,): { error: (message: string) => void; log: (message: string) => void; warn: (message: string) => void;} Parameters
- path: string[]
- disableLogging: boolean
Returns {
error: (message: string) => void;
log: (message: string) => void;
warn: (message: string) => void;
}
Create a logger for a specific path
the logger will log to the console if disableLogging is false and will log the path before the message