4.4.5 • Published 1 year ago

@peteradeojo/laas-sdk v4.4.5

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

Laas

Laas is a package that allows you to send logs to a remote server. Here's how to install and use it in your application.

Installation

To install this package, run the following command:

npm install @peteradeojo/laas-sdk

Usage

To use this package in your application, first import it:

const laas = require('@peteradeojo/laas-sdk');

Set the LAAS_APP_TOKEN environment variable in your .env file or your environment

Then, you can use the package's sendLog function like this:

const log = {
  level: 'info',
  text: 'Lorem ipsum dolor sit amet',
  context: {} // an object containing any other useful information you want to supply,
};

const result = await laas.sendLog(log);
console.log(result);

That's it! You're now using the laas package in your application.

Contributing

If you'd like to contribute to this package, please fork the repository and create a pull request. We'd love to see your contributions!

License

This package is licensed under the MIT license. See the LICENSE file for more information.

4.4.5

1 year ago

4.4.4

1 year ago

4.5.0

2 years ago

4.4.1

2 years ago

4.4.0

2 years ago

4.0.0

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago