logzai-otl
v1.0.5
Published
LogzAI OTL - A TypeScript library for OpenTelemetry logging
Maintainers
Readme
LogzAI OTL
A TypeScript library for OpenTelemetry logging and observability.
Installation
npm install logzai-otlUsage
import { helloWorld } from 'logzai-otl';
// or
import helloWorld from 'logzai-otl';
console.log(helloWorld()); // "Hello World from LogzAI OTL!"Development
# Install dependencies
npm install
# Build the library
npm run build
# Run in development mode
npm run devBuilding
The library is built using Vite and outputs multiple formats:
- ES modules (
dist/logzai-otl.es.js) - CommonJS (
dist/logzai-otl.cjs.js) - UMD (
dist/logzai-otl.umd.js) - TypeScript declarations (
dist/index.d.ts)
Publishing
npm publishLicense
MIT
