how to use papertrail (send logs) in nest js?

389 Views Asked by At

is there any way to use papertrail in nestjs application ? I am added loggers like this https://docs.nestjs.com/techniques/logger

Now I want to send this logs to papertrail.. is there any way to send ?

I got the example of nodejs . but I didn't find any example of nestjs

1

There are 1 best solutions below

1
Alex Choi On

You could send it to SQL or NoSQL. Eventually, you want to store a log record.

Or you could save it on your local server by creating your own log file.