Giter Club home page Giter Club logo

monolog-module's People

Contributors

arjanvdbos avatar kris-sum avatar neeckeloo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

monolog-module's Issues

Deprecated ServiceLocatorAwareInterface

Deprecated: ServiceLocatorAwareInterface is deprecated and will be removed in version 3.0, along with the ServiceLocatorAwareInitializer. Please update your MonologModule\Formatter\FormatterPluginManager plugin manager factory to inject the parent service locator via the constructor.

Working on a fix.

MongoDB handler

Hi,

I am working in a project and I am trying to use this library. I want to use mongoDB handler and for this I should create a MongoDB client.

By default I can't use it with your library, is it possible to modify it? Where should I do this, in the LoggerFactory (namespace: MonologModule\Factory\LoggerFactory)? Should I create a pull request after?

Thanks,
Julio

LoggerFactory PHP8 incompatibility

On line 121 of LoggerFactory: return call_user_func_array(array($reflection, 'newInstance'), array_values($options));

Results in an error Uncaught Error: Unknown named parameter $path in /var/www/html/vendor/neeckeloo/monolog-module/src/Factory/LoggerFactory.php on line 121.

This is because in PHP8 call_user_func_array passes the $options array as named parameters if it has named keys.
Using array_values() to return a numerically keyed array would fix the issue as the options would then be passed positionaly just as they are in PHP7 and this would maintain both PHP7 and PHP8 compatibility.

return call_user_func_array(array($reflection, 'newInstance'), array_values($options));

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.