Thread: Php Debug logs

  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2013
    Rep Power

    Php Debug logs

    Do we have provision to log debug messages from php code , where can we configure the debug log file location ( where php can write debug logs ) and how to write debug logs from php code.
  2. #2
  3. Wiser? Not exactly.
    Devshed God 2nd Plane (6000 - 6499 posts)

    Join Date
    May 2001
    Bonita Springs, FL
    Rep Power
    There are libraries out there which provide such functionality that you could use. For something quick, dirty, and simple though you could use trigger_error with E_USER_NOTICE, or syslog with LOG_DEBUG.
    Recycle your old CD's

    If I helped you out, show some love with some reputation, or tip with Bitcoins to 1N645HfYf63UbcvxajLKiSKpYHAq2Zxud

IMN logo majestic logo threadwatch logo seochat tools logo