• Debugging in CodeIgniter (and MVC)


    You need to set your $config['log_threshold'] in file config.php since by default it's 0 (no logs)
    • 0 = Disables logging, Error logging TURNED OFF
    • 1 = Error Messages (including PHP errors)
    • 2 = Debug Messages
    • 3 = Informational Messages
    • 4 = All Messages
    Used the function like so: log_message('debug','Message you want to log');
  • 0 comments:

    Post a Comment

    FAVOURITE LINE

    To steal ideas from one is plagiarism. To steal from many is Research.

    ADDRESS

    Mumbai , Maharashtra

    EMAIL

    shikha.pathak6@gmail.com
    shikha.the.swt.pari@gmail.com

    Skype

    shikha_pari