Giter Site home page Giter Site logo

shippify / shippify-logger Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 19 KB

This is a logger library implement to registering on Cloud Watch some customs events defining for each implementation

License: GNU General Public License v3.0

JavaScript 100.00%

shippify-logger's Introduction

shippify-logger

This is a logger library for registering logs on Cloud Watch.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installing

This is a Node.js module available through to include in your package.json file.

....
"dependencies": {
    .....
    "shippify-logger": "git+https://github.com/shippify/shippify-logger.git"
    ....
}
....

Installation is done using the npm install command:

npm install

Environment variables

You need to set up these variables to use this library:

SERVER_ENV=production
SHIPPIFY_AMAZON_ACCESS_KEY_ID=
SHIPPIFY_AMAZON_SECRET_ACCESS_KEY=
SHIPPIFY_AMAZON_REGION=

How to use this library? Look this example.


const Logger = require('shippify-logger');

// Simple  

const log = new Logger({ serviceName: 'Example-Service'});

log.log({group: 'DataPipeline', log: { something: 'A thing that you want to log' }});

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Leonardo Larrea - A Developer

See also the list of contributors who participated in this project.

shippify-logger's People

Contributors

jalarrea avatar

Watchers

Luis Loaiza avatar Markos Calderon avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.