Create the global logger, must setup oltp (http), console can be optionally setup and will just print logs.
Optional
Rest
Log a debug message.
Log an error message.
Log an info message.
Get a new Meter instance to record metrics with.
const meter = globalLog.getMeter("example-meter");const counter = meter.createCounter('metric_name');counter.add(10, { 'key': 'value' }); Copy
const meter = globalLog.getMeter("example-meter");const counter = meter.createCounter('metric_name');counter.add(10, { 'key': 'value' });
Log a warning message.
Run a sync callback inside a span.
Run an async callback inside a span.
Generated using TypeDoc
Create the global logger, must setup oltp (http), console can be optionally setup and will just print logs.