firevel/stackdriver-log-channel

Laravel Stackdriver log channel for Google App Engine
22,053 6
Install
composer require firevel/stackdriver-log-channel
Latest Version:1.1.0
PHP:>=7.1
License:MIT
Last Updated:Sep 13, 2023
Links: GitHub  ·  Packagist
Maintainer: sl0wik

Firevel - Stackdriver log channel

Stackdriver log channel for Laravel compatible with Google App Engine.

This package is now DEPRECATED

Inside of Google Cloud you can send logs to Stackdriver without custom driver using env:

  LOG_CHANNEL=stderr
  LOG_STDERR_FORMATTER=Monolog\Formatter\GoogleCloudLoggingFormatter

Installation

  1. Install package with composer require firevel/stackdriver-log-channel

  2. Add to config/logging.php:

        'stackdriver' => [
            'driver' => 'custom',
            'via' => Firevel\Stackdriver\CreateStackdriverLogger::class,
            'level' => 'debug',
        ],
  1. Update your app.yaml with:
env_variables:
  LOG_CHANNEL: stackdriver

Related Packages

beyounglabs/monolog-stackdriver

Stackdriver handler for Monolog (codeinternetapplications/monolog-stackdriver Fo...

2,179 0
maksimru/laravel-fluent-logger

fluent logger for laravel and lumen with stackdriver support

7,456 0
firevel/firestore

Firestore wrapper for Laravel app running inside Google App Engine.

21,237 6