Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Logging

Jay edited this page Jan 13, 2015 · 7 revisions

Logging allows developers to track activities happening inside the code. You could enable logging for PayPal SDK. The instructions to enable logging, or any other configuration is described in Adding Configuration Tutorial

Configurations

  • log.LogEnabled

    • Options : true, false
    • Enables Logging
  • log.FileName

    • When using a relative path, the log file is created relative to the .php file that is the entry point for this request. You can also provide an absolute path here
  • log.logLevel

    • Logging level can be one of FINE, INFO, WARN or ERROR. Logging is most verbose in the 'FINE' level and decreases as you proceed towards ERROR. WARN or ERROR would be a recommended option for live environments.