Skip to content

frequence-web/fwExtraLoggersPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

fwExtraLoggersPlugin

this plugin adds some loggers (mail logger for the moment) to symfony 1.x

Mail logger

The mail logger sends you logs by mail. It's useful for logging errors in production.

The plugin doesn't use the factories mailer configuration, you must define a separated config. (It allows you to use an other SMTP server, and adds the ability to log errors that happen before or during the factories initialisation)

Usage

factories.yml

prod:
  logger:
    class:   fwMailLogger
    param:
      from:    [email protected]
      to:      [email protected]
      transport:
        class: Swift_SmtpTransport
        param:
          host: localhost
          port: 25

About

Extra loggers for symfony 1.x

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published