forked from cloudinary/cloudinary_php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLoggingConfig.php
More file actions
41 lines (37 loc) · 1.17 KB
/
Copy pathLoggingConfig.php
File metadata and controls
41 lines (37 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* This file is part of the Cloudinary PHP package.
*
* (c) Cloudinary
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cloudinary\Configuration;
/**
* Defines the global configuration for logging messages when using the SDK.
*
* @property array $file Settings for logging messages to a file.
* @property array $errorLog Settings for logging messages to PHP error_log() handler.
* @property array $test Settings for logging messages for testing purposes.
* @property string $level Settings for default logging level.
* @property bool $enabled Settings for globally disabling all logging.
*
* @api
*/
class LoggingConfig extends BaseConfigSection
{
const CONFIG_NAME = 'logging';
// Supported parameters
const FILE = 'file';
const ERROR_LOG = 'error_log';
const TEST = 'test';
const LEVEL = 'level';
const ENABLED = 'enabled';
// Public properties available to users, should FULLY correspond constant values!
public $file;
public $errorLog;
public $test;
public $level;
public $enabled;
}