@sudoorgza/logger
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Logger

A small wrapper around Google's Winston logging module @google-cloud/logging-winston. For more information on the use of such a logger refer to winston.

Getting started

yarn add @sudoorgza/logger

Usage

import createLogger from '@sudoorgza/logger'

const newLogger = createLogger('my-namespace', '0.0.1', 'warn', 'gcp-project-id')

newLogger.info('this will not be logged')
newLogger.warn('while this warning will be logged')

/@sudoorgza/logger/

    Package Sidebar

    Install

    npm i @sudoorgza/logger

    Weekly Downloads

    0

    Version

    0.0.3

    License

    UNLICENSED

    Unpacked Size

    7.66 kB

    Total Files

    9

    Last publish

    Collaborators

    • carnun