PHP Class PayPal\Core\PayPalLoggingManager

This does an error_log for now Potential frameworks to use are PEAR logger, log4php from Apache
ファイルを表示 Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
debug ( string $message ) Log Debug
error ( string $message ) Log Error
fine ( string $message ) Log Fine
getInstance ( string $loggerName = __CLASS__ ) Returns the singleton object
info ( string $message ) Log Info
warning ( string $message ) Log Warning

Private Methods

Method Description
__construct ( string $loggerName ) Default Constructor

Method Details

debug() public method

Log Debug
public debug ( string $message )
$message string

error() public method

Log Error
public error ( string $message )
$message string

fine() public method

Log Fine
public fine ( string $message )
$message string

getInstance() public static method

Returns the singleton object
public static getInstance ( string $loggerName = __CLASS__ )
$loggerName string

info() public method

Log Info
public info ( string $message )
$message string

warning() public method

Log Warning
public warning ( string $message )
$message string