Giter VIP home page Giter VIP logo

Comments (4)

stof avatar stof commented on September 28, 2024

The record comes from a Monolog record, so I don't see how your syslog handler could receive another log level. The SyslogHandler is about implementing a Monolog backend based on syslog, not about providing a direct PHP binding to syslog (use the built-in functions for this).

and skipping notice and emerf from the Monolog levels was an early design decision as @Seldaek considered that 8 log levels are generally useless (when do you need both alert and emerg in your app ?)

from monolog.

jbq avatar jbq commented on September 28, 2024

This is acceptable as long as this behavior is documented. The monolog doc requires some complementary information http://symfony.com/doc/master/cookbook/logging/monolog.html

from monolog.

stof avatar stof commented on September 28, 2024

the monolog docs are available in the Monolog repo (and can be browsed on github as they use markdown). What you linked is a cookbook in the Symfony2 doc, not the Monolog doc.

from monolog.

Seldaek avatar Seldaek commented on September 28, 2024

@jbq I added some docs in the README for clarity (see link above). If you want to get more stuff in the Symfony docs, please report an issue on https://github.com/symfony/symfony-docs or even send a pull request with improvements. Thanks.

from monolog.

Related Issues (20)

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.