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

0.0.1 • Public • Published

@mish-tv/stackdriver-logger

npm Build and test coverage license

`@mish-tv/stackdriver-logger` a package to output logs to stackdriver logging through standard output. I assume it will be used in applications running on CloudRun.

Installation

npm install --save @mish-tv/stackdriver-logger

Usage

import { logger } from "@mish-tv/stackdriver-logger";

logger.debug("log message", payload);
logger.info("log message", payload);
logger.warning("log message", payload);
logger.error("log message", payload);

Todo

  • Make sure we know the file name and line number of the code that was logged.

/@mish-tv/stackdriver-logger/

    Package Sidebar

    Install

    npm i @mish-tv/stackdriver-logger

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    64.2 kB

    Total Files

    39

    Last publish

    Collaborators

    • malt03