Giter Site home page Giter Site logo

writelog's Introduction

Write Log Laravel Package

Simplified logging for laravel application. You can use it for log your message, array, object etc. Sometimes we need to see if the data is coming from the request or database without stopping the execution of the application. we can easily check by this package.

Downloads Starts

Requirements

  • PHP >=7.2
  • Laravel >= 6

Installation

composer require codeboxr/writelog

Usage

use Codeboxr\Writelog\Facade\WriteLog

WriteLog::log(['codeboxr','laravel']);

or you can simply use our helper methods

writelog(['codeboxr','laravel']);

If you want to to edit your file path or file name you should publish config file

php artisan vendor:publish --provider="Codeboxr\Writelog\WriteLogServiceProvider"

after publishing the config you can see it in config/writelog.php then you can customize everything in your ways

return [
    
    "directory" => base_path(), // Log Store Directory path
    
    "file_name" => "debug.log" // Log file name
];

Contributing

Contributions to the Writelog package are welcome. Please note the following guidelines before submitting your pull request.

  • Follow PSR-4 coding standards.

License

Writelog is licensed under the MIT License.

Copyright 2022 Codeboxr

writelog's People

Contributors

dipudey avatar manchumahara avatar

Stargazers

Abdullah Abu Sayed avatar Moniruzzaman Saikat avatar Jahangir Ripon avatar Md. Shahnaouz Razu avatar  avatar  avatar

Watchers

 avatar Codeboxr 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.