Skip to content

nielskramerr/7lab-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About this package

Add the following repository to the composer.json of your project

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/nielskramerr/7lab-logging.git"
    }
]

After this run composer require "7lab/7lab-logging:dev-master" to install the package

Then run 7 artisan vendor:publish --provider="SevenLabLogging\SevenLabLoggingLaravelServiceProvider" to publish it's config files.

And add the following code to the report function in Exceptions/Handler.php to catch the exceptions and send them to our dashboard

if (app()->bound('7lab-logging')) {
    app('7lab-logging')->captureException($exception);
}

Don't forget to add the variables to your .env file and you're good to go ;)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages