@nextgis/logging
TypeScript icon, indicating that this package has built-in type declarations

2.2.3 • Public • Published

Logging

size version

Logging control

Installation

In Browser

Include assets

Simply download and include with a script tag, Logging will be registered as a global variable.

<script src="../lib/logging.global.js"></script>

<script>
  const logging = new Logging();
</script>

CDN

unpkg

<script src="https://unpkg.com/@nextgis/logging"></script>

jsdelivr

<script src="https://cdn.jsdelivr.net/npm/@nextgis/logging"></script>

We recommend linking to a specific version number /logging@[version]

In Node.js

npm install @nextgis/logging

Usage

import {Logging, NgLogEngine} from '@nextgis/logging';

const logger = new Logging({
  engines: [
    new NgLogEngine({
      clientId: 'f868a76b-2ec3-405d-b6a4-851bd228f8bf',
      delay: 1000
    }),
  ],
});
logger.info('Hello NextGIS!');

Check out the API Documentation

Commercial support

Need to fix a bug or add a feature to @nextgis/logging? We provide custom development and support for this software. Contact us to discuss options!

http://nextgis.com

Readme

Keywords

Package Sidebar

Install

npm i @nextgis/logging

Weekly Downloads

4

Version

2.2.3

License

MIT

Unpacked Size

723 kB

Total Files

21

Last publish

Collaborators

  • rendrom
  • maximdubinin
  • karavanjo