Thread: Php Debug logs

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

    Join Date
    Aug 2013
    Posts
    30
    Rep Power
    1

    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 1st Plane (5500 - 5999 posts)

    Join Date
    May 2001
    Location
    Bonita Springs, FL
    Posts
    5,938
    Rep Power
    4033
    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, don't just trash them



    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