miaowing / nest-schedule

A cron-like and not-cron-like job distributed scheduler for Nest.js by decorators.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logger, where is it used ?

iangregsondev opened this issue · comments

commented

Hi,

I was looking into overriding the logger but I can't see where it is actually used, the examples use console.log, is the logger injected or something ?

I would like to override the logger with my default one but I can't see where nest-schedule is actaully using the logger.

Can you elaborate a little

Cheers!

commented

The logger will be used to output job execption, such as:

this.logger &&

commented

Ok, thanks.