forked from LiveCarta/PayPal-PHP-SDK
Enabled Factory to Inject Logger
This commit is contained in:
@@ -25,22 +25,27 @@ mode = sandbox
|
||||
|
||||
;Logging Information
|
||||
[Log]
|
||||
; For custom logging implementation, you can set the
|
||||
; logging factory provider class here.
|
||||
; The class should be implementing \PayPal\Log\PayPalLogFactory.
|
||||
; If this is not set, it will default to \PayPal\Log\PayPalDefaultLogFactory.
|
||||
;log.AdapterFactory=\PayPal\Log\PayPalDefaultLogFactory
|
||||
|
||||
; Settings for PayPalDefaultLogFactory
|
||||
log.LogEnabled=true
|
||||
|
||||
; 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
|
||||
; Settings for PayPalDefaultLogFactory
|
||||
log.FileName=../PayPal.log
|
||||
|
||||
; Logging level can be one of
|
||||
; Sandbox Environments: DEBUG, INFO, WARN, ERROR
|
||||
; Live Environments: INFO, WARN, ERROR
|
||||
; Logging level can be one of any provided at \Psr\Log\LogLevel
|
||||
; Logging is most verbose in the 'DEBUG' level and
|
||||
; decreases as you proceed towards ERROR
|
||||
; DEBUG level is disabled for live, to not log sensitive information.
|
||||
; If the level is set to DEBUG, it will be reduced to FINE automatically,
|
||||
; with a warning message
|
||||
; If the level is set to DEBUG, it will be reduced to INFO automatically
|
||||
log.LogLevel=INFO
|
||||
|
||||
;Caching Configuration
|
||||
|
||||
Reference in New Issue
Block a user