UNPKG

@thomkjel/logger

Version:

Security-focused event logging library for Next.js applications (Work in Progress)

97 lines (61 loc) 2.63 kB
# @thomkjel/logger > ⚠️ **WORK IN PROGRESS** - This package is currently in active development and not ready for production use. API keys and configuration required. A TypeScript security event logging library for Next.js applications. ## ⚠️ Important Notice **This package is currently in alpha/beta development phase:** - ✋ **Not production ready** - 🔑 **Requires valid API keys and configuration** - 📝 **API may change without notice** - 🚧 **Documentation incomplete** - 🔒 **Limited access during development** **Please contact the maintainers before attempting to use this package.** ## Features - 🔒 Security-focused event logging - 📝 TypeScript support with full type safety - 🚀 Next.js integration - 📊 Structured logging format - 🎯 Non-blocking async operations *Additional enterprise features available with proper licensing and configuration.* ## Installation ⚠️ **Not recommended for public use yet** ```bash npm install @thomkjel/logger ``` ## Configuration Required This package requires specific API keys and configuration to function properly. Contact maintainers for setup instructions. ```typescript import { logger } from '@thomkjel/logger'; // Basic usage (requires proper configuration) logger.info('event_type', { // Event metadata }); ``` ## Event Types Supports various security event categories including authentication, authorization, session management, and user actions. *Detailed event documentation available with proper access credentials.* ## API Reference ### Basic Methods ```typescript // Available log levels logger.info(eventType: string, metadata?: object): void logger.warn(eventType: string, metadata?: object): void logger.error(eventType: string, metadata?: object): void logger.critical(eventType: string, metadata?: object): void ``` *Full API documentation and advanced features available with proper licensing.* ## Integration Designed for seamless integration with Next.js applications, API routes, and middleware. *Integration examples and detailed documentation available with proper access.* ## Enterprise Features Advanced security, compliance, and analytics features available with enterprise licensing. *Contact maintainers for enterprise feature access and detailed documentation.* ## Development This package is currently in active development. ## License MIT ## Contact For access requests, enterprise licensing, or support: - Create an issue in the GitHub repository - Contact maintainers directly for enterprise features --- **@thomkjel/logger** - Security-focused logging for Next.js applications.