Giter Site home page Giter Site logo

laravel-logzio's Introduction

Introduction

Latest Version Software License Build Status Coverage Status Total Downloads Requires PHP

Easy integrate Logz.io into Laravel 5.6+ Application

Main features

Make logzio driver for integrate Logz.io into Laravel Application

Requirements

  • php >=7.1.3
  • Laravel 5.6+

Installation

Begin by pulling in the package through Composer.

$ composer require oanhnn/laravel-logzio

Usage

In config/logging.php file, config you log with driver logzio

<?php
return [
    // ...
	'custom' => [
	    'driver' => 'logzio',
	    'name'   => 'channel-name',
	    'token'  => 'logz-access-token',
	    'type'   => 'https-bulk',
	    'ssl'    => true,
	    'level'  => 'info',
	    'bubble' => true,
	],
	// ...
];

In your code using

Log::channel('custom')->info('Some message');

See more in Laravel document

Changelog

See all change logs in CHANGELOG

Testing

$ git clone [email protected]/oanhnn/laravel-logzio.git /path
$ cd /path
$ composer install
$ composer phpunit

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email to Oanh Nguyen instead of using the issue tracker.

Credits

License

This project is released under the MIT License.
Copyright © 2018 Oanh Nguyen.

laravel-logzio's People

Contributors

oanhnn avatar rholak avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.