Logging control
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>
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]
npm install @nextgis/logging
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
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!