Adapters
LogTape Adapter
Add structured logging to your X Framework application
LogTape Adapter
The LogTape adapter provides structured logging with context support.
Installation
Usage
For more details on using LogTape, see the LogTape documentation.
Logging Levels
LogTape supports multiple logging levels:
Integration with Hono
Example of adding request logging middleware:
Type Safety
The adapter preserves LogTape's type information:
Best Practices
- Use appropriate log levels for different types of messages
- Include relevant context in log metadata
- Avoid logging sensitive information
- Use structured logging for better searchability
- Consider log rotation and retention policies