Neolithic Prancing Minotaurs
    Wondering what’s next for npm?Check out our public roadmap! »

    winston-cloud-logging
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    winston-cloud-logging

    Cloud Logging compatible logging with Winston.

    npm install winston-cloud-logging
    

    Examples

    Use the format in a logger

    const winston = require("winston");
    const winstonCloudLogging = require("winston-cloud-logging");
     
    const logger = winston.createLogger({
      format: winston.combine(
        // rest of the logger formats to be used
        winstonCloudLogging.format(),
        winston.format.json()
      ),
      // rest of the logger options
    });

    Install

    npm i winston-cloud-logging

    DownloadsWeekly Downloads

    28

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    7.61 kB

    Total Files

    10

    Last publish

    Collaborators

    • avatar