2017 © Pedro Peláez
 

library l5-appengine-mvm-loghandler

Google AppEngine Managed VMs LogHandler

image

cedricziel/l5-appengine-mvm-loghandler

Google AppEngine Managed VMs LogHandler

  • Saturday, January 30, 2016
  • by cedricziel
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

l5-appengine-mvm-loghandler

Dependency 
Status, (*1)

Google AppEngine Managed VMs LogHandler., (*2)

Instructions

Require the package with composer:, (*3)

composer require cedricziel/l5-appengine-mvm-loghandler

Bind the ConfigureLogging class to the custom implementation in bootstrap/app.php:, (*4)

$app->singleton(
    Illuminate\Foundation\Bootstrap\ConfigureLogging::class,
    CedricZiel\AppEngineMvmLoghandler\LoggingConfiguration::class
);

Replace the stock ConfigureLogging bootstrapper with a the custom implementation, by overriding the bootstrapers field in app/Http/Kernel.php:, (*5)

    /**
     * The bootstrap classes for the application.
     *
     * @var array
     */
    protected $bootstrappers = [
        'Illuminate\Foundation\Bootstrap\DetectEnvironment',
        'Illuminate\Foundation\Bootstrap\LoadConfiguration',
        // replace ConfigureLogging
        'CedricZiel\AppEngineMvmLoghandler\LoggingConfiguration',
        'Illuminate\Foundation\Bootstrap\HandleExceptions',
        'Illuminate\Foundation\Bootstrap\RegisterFacades',
        'Illuminate\Foundation\Bootstrap\RegisterProviders',
        'Illuminate\Foundation\Bootstrap\BootProviders',
    ];

Aaaand in app/Console/Kernel.php:, (*6)

    /**
     * The bootstrap classes for the application.
     *
     * @var array
     */
    protected $bootstrappers = [
        'Illuminate\Foundation\Bootstrap\DetectEnvironment',
        'Illuminate\Foundation\Bootstrap\LoadConfiguration',
        'CedricZiel\AppEngineMvmLoghandler\LoggingConfiguration',
        'Illuminate\Foundation\Bootstrap\HandleExceptions',
        'Illuminate\Foundation\Bootstrap\RegisterFacades',
        'Illuminate\Foundation\Bootstrap\SetRequestForConsole',
        'Illuminate\Foundation\Bootstrap\RegisterProviders',
        'Illuminate\Foundation\Bootstrap\BootProviders',
    ];

Use the log-handler in .env:, (*7)

APP_LOG=appenginemvm

License

The MIT license, (*8)

The Versions

30/01 2016

dev-master

9999999-dev

Google AppEngine Managed VMs LogHandler

  Sources   Download

MIT

The Requires

 

by Cedric Ziel

18/12 2015

0.0.1

0.0.1.0

Google AppEngine Managed VMs LogHandler

  Sources   Download

MIT

The Requires

 

by Cedric Ziel