Download the PHP package keldorde/laravel-api-logger without Composer
On this page you can find all versions of the php package keldorde/laravel-api-logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download keldorde/laravel-api-logger
More information about keldorde/laravel-api-logger
Files in keldorde/laravel-api-logger
Download keldorde/laravel-api-logger
More information about keldorde/laravel-api-logger
Files in keldorde/laravel-api-logger
Vendor keldorde
Package laravel-api-logger
Short Description An API logger channel that can be used to send Log messages to an API endpoint.
License MIT
Package laravel-api-logger
Short Description An API logger channel that can be used to send Log messages to an API endpoint.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-api-logger
About
An API logger channel that can be used to send Log messages to an API endpoint.
Usage
- Export the API logger configuration file
php artisan vendor:publish --provider="KeldorDE\ApiLogger\ApiLoggerServiceProvider" --tag="config" -
Add the following array element to the
channelsarray inconfig/logging.php'api' => [ 'driver' => 'custom', 'via' => \KeldorDE\ApiLogger\Logger\ApiLogChannel::class, ],
- Configure the environment variables
LOG_CHANNEL=stack
LOG_STACK=api
LOG_API_ENDPOINT=https://api.example.com/logs/create
LOG_API_TOKEN=some-api-token
LOG_API_USER_AGENT=Some/UserAgent
Environment variables
See the config/api-logger.php file for detailed descriptions.
All versions of laravel-api-logger with dependencies
PHP Build Version
Package Version
The package keldorde/laravel-api-logger contains the following files
Loading the files please wait ...