node.jsloggingremix

How do we implement a logger for server side part in remix framework, what would be the best approach?


I want to implement logging functionality for an application which is using remix framework.


Solution

  • Logging in Remix can be done like in any Node server. A barebone approach is to use console.log. Otherwise, other logging libraries are available. For example https://github.com/pinojs/pino