Guides
Logging
Guide for configuring logging with FNE Client
Logging
This guide shows you how to configure logging with FNE Client for debugging and monitoring.
Overview
FNE Client supports logging via the PSR-3 interface. Logs allow tracking API calls and debugging issues.
Configuration
Laravel
Logging automatically uses the Laravel logging system:
Symfony
For Symfony, use Monolog:
Native PHP
For native PHP, you can implement your own logger by implementing LoggerInterface.
Log Levels
FNE Client uses the following log levels:
- debug: Detailed debugging information
- info: General information (successful API calls)
- warning: Warnings (low sticker stock)
- error: Errors (exceptions, failed API calls)
Log Examples
Successful API Call
API Error
Custom Logger
You can implement your own logger:
Next Steps
- Error Handling - Handle errors efficiently
- Troubleshooting - Resolve issues
Need help? Check out the complete documentation or open an issue on GitHub.
