winston

A logger for just about everything. (by winstonjs)

Winston Alternatives

Similar projects and alternatives to winston

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better winston alternative or higher similarity.

Suggest an alternative to winston

Reviews and mentions

Posts with mentions or reviews of winston. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-30.
  • Designing Error Messages and a Logging Strategy in Node.js
    3 projects | dev.to | 30 Nov 2021
    Essentially, Winston is a logging library that allows you to:
  • Feathers.js Request Id Middleware
    1 project | dev.to | 30 Oct 2021
    // A hook that logs service method before, after and error // See https://github.com/winstonjs/winston for documentation // about the logger. import logger from '../logger'; import util from 'util'; import { HookContext, Hook } from '@feathersjs/feathers'; // To see more detailed messages, uncomment the following line: logger.level = 'debug'; export default function (): Hook { return (context: HookContext) => { const { params } = context; const requestId = params.requestId; logger.debug(`Request Id: ${requestId}`); // This debugs the service call and a stringified version of the hook context // You can customize the message (and logger) to your needs logger.debug( `${context.type} app.service('${context.path}').${context.method}()`, ); if ( // eslint-disable-next-line @typescript-eslint/no-explicit-any typeof (context as any).toJSON === 'function' && logger.level === 'debug' ) { logger.debug('Hook Context', util.inspect(context, { colors: false })); } if (context.error && !context.result) { logger.error(context.error.stack); } }; }
  • Debut to Bug-Hunting Cybersecurity and writing Quality Code
    4 projects | dev.to | 9 Oct 2021
    Keeping an eye on how the users are interacting with your application by making use loggers like Winston is a must.
  • Access logs on Node JS with Winston, Morgan, and storage on Elasticsearch
    2 projects | dev.to | 8 Oct 2021
    Here is a basic setup of a node.js app that will be used for this tutorial. We're going to install Express, Morgan, and the logger framework Winston.
  • Manage errors better
    1 project | dev.to | 17 Sep 2021
    Logs are a very essential aspect of running through the inner workings of application especially during investigations. Many of us may have found ourselves in circumstances where the production server has been down forcing us to runmage through the logs for causative issues. This is enough a reason to make sure that logs are clear and run through most functions of your application to provide an adequate stack map of previous actions. Thankfully there are many well known packages which already handle most of the heavy lifting for us. Winston is a good example of such loggers. You may also want to consider the various levels of logs through out the application;
  • Best Practices for Logging in Node.js
    5 projects | dev.to | 8 Sep 2021
    Winston — The most popular logging library, with support for multiple transports. This allows you to easily configure your preferred storage location for your logs.
  • Node.js Packages and Resources
    106 projects | dev.to | 6 Sep 2021
    winston - Multi-transport async logging library.
  • Dynamic Log Control for Serverless
    5 projects | dev.to | 19 Aug 2021
    To see code samples for Bunyan, Debug, Winston or Python please checkout our Dynamic Logging Samples which has detailed code samples for each library and Python using these techniques.
  • How to console.log like a pro
    1 project | reddit.com/r/programming | 13 Jun 2021
    There are many options. Something like winston for example. You can configure it to output to console for local debugging and to a log sink for your deployed environments.
  • Improve: RxJS Debugging
    2 projects | dev.to | 23 Mar 2021
    As such, you could potentially use something like Winston as your logger!
  • Better logs for ExpressJS using Winston and Morgan with Typescript
    4 projects | dev.to | 3 Mar 2021
    To use the plainconsole.log without a third-party library, we need to write a lot of code and reinvent the wheel understanding all the edge cases caught by Winston in these years.
  • Netlify build logging with Datadog
    1 project | dev.to | 2 Mar 2021
    And below, a logger implementation using Winston.
  • [better-logging] My library better-logging just achieved 1k downloads in a week for the first time, and I'm really stoked about it! Just thought I'd share :)
    5 projects | reddit.com/r/javascript | 28 Jan 2021
    AFAIK it's not really suited to client-side use https://github.com/winstonjs/winston/issues/287#issuecomment-686440543
    5 projects | reddit.com/r/javascript | 28 Jan 2021
    However better-logging was never supposed to be the one and only logging solution for nodejs. It was supposed to lower the bar of entry for people that don't want to invest the time and effort needed to learn a "proper"/complete logging library (like Winston). I do think that every medium or large project should eventually move away from better-logging. However I think it fills an important roll in improving the readability of logs for small to medium project, or larger projects in their infancy.
    5 projects | reddit.com/r/javascript | 28 Jan 2021
    Why would I use this over winstonjs?

Stats

Basic winston repo stats
17
18,093
1.4
22 days ago

winstonjs/winston is an open source project licensed under MIT License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote JavaScript jobs at our new job board 99remotejobs.com. There are 15 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.