Questions tagged [winston]

A multi-transport async logging library for node.js.

Winston is designed to be a simple and universal logging library with support for multiple transports. A transport is essentially a storage device for your logs. Each instance of a winston logger can have multiple transports configured at different levels. For example, one may want error logs to be stored in a persistent remote location (like a database), but all logs output to the console or a local file.

There also seemed to be a lot of logging libraries out there that coupled their implementation of logging (i.e. how the logs are stored / indexed) to the API that they exposed to the programmer. This library aims to decouple those parts of the process to make it more flexible and extensible.

935 questions
-2
votes
1 answer

How do I add tags to cloud logging? For example, GET, POST

I'm the web developer. I'm currently using the Google Cloud platform. Deploy the next.js(node.js) application through Google Cloud Run. Use the Google Cloud platform throughout your company's product. I have a question to ask you. How do I add tags…
lbh
  • 1
  • 1
-2
votes
1 answer

intercept a log from winstonjs and inject arguments

Is it possible to inject an argument into a log such as error, debug or info using the winston configuration (createLogger)? I'd like to be able to intercept the log and inject an object into each log
Ruegen
  • 605
  • 9
  • 35
-2
votes
1 answer

Winston logger with chrome extension tool

I am trying to implement Winston logger with my chrome extension tool. I am not able to do it. Also I am not very familiar with Node.js and npm.
Sourabh Roy
  • 159
  • 1
  • 18
-3
votes
1 answer

Create Channel Switch Logger

I'm trying to create a channel switch logger which allows me to specify a channel where the messages get posted. So, for example, I create a TextChannel called "Channel Switches". When now a user changes voice channel, it should appear a message in…
Solu
  • 73
  • 2
  • 9
-3
votes
2 answers

Node js logging - winston.Logger is not a constructor

I am applying logger in node js application using Winston but getting winston.Logger is not a constructor. I am following the link below http://thisdavej.com/using-winston-a-versatile-logging-library-for-node-js/
arpitbhatt027
  • 137
  • 3
  • 15
1 2 3
62
63