Module @nextgis/logging

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

Index

Classes

Interfaces

Type Aliases

Generated using TypeDoc