How to use logsene-js - 1 common examples

To help you get started, we’ve selected a few logsene-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sematext / sematext-agent-docker / lib / dockerLogsene.js View on Github external
function logVersionInfo () {
  var versions = {
    nodeJS: process.versions.node,
    sematextDockerAgent: require('../package.json').version,
    logseneJS: require('logsene-js/package.json').version,
    dockerLoghose: require('docker-loghose/package.json').version,
    dockerStats: require('docker-stats/package.json').version,
    dockerEvents: require('docker-events/package.json').version
  }
  SpmAgent.Logger.info('module versions:' + JSON.stringify(versions, null, '\t'))
}

logsene-js

JavaScript client for Sematext Logs

Apache-2.0
Latest version published 1 year ago

Package Health Score

46 / 100
Full package analysis

Popular logsene-js functions