To enable Logging, set debug_mode to true, then provide a path of a writable file on debug_file on your configuration file or hash:

  1. array(
  2. "providers" => array ( /* .. */ ),
  3.  
  4. "debug_mode" => true ,
  5.  
  6. // to enable logging, set 'debug_mode' to true, then provide here a path of a writable file
  7. "debug_file" => "/temp/hybridauth.log",
  8. );

There is three levels defined by HybridAuth Logger:

   INFO: Log a message at the info level.

   DEBUG: Log a message at the debug level.

   ERROR: Log a message at the error level.