How do I implement generic / package-agnostic logging for a Node.JS Project?

I want to add logging to my Node.JS project, so that I can view debug logs while the application runs. There are a lot of different loggers out there for JavaScript apparently, and I’m not sure which one to use. Ideally, I would like to write my code so that the logger is not part of the codebase, but instead the logging is generic and I can switch between different generic logging libraries as I see fit. How can I do this?