Skip to content

use public const declaration in class SystemConfiguration #9

@MaximGns

Description

@MaximGns

In Phpro\APILogger\Config\SystemConfiguration replace:

const XML_LOG_FILE_NAME = 'system/api_log/file';
const XML_LOG_LEVEL = 'system/api_log/level';
const XML_ADD_SLASHES = 'system/api_log/add_slashes';

const LOG_DIR = 'var' . DIRECTORY_SEPARATOR . 'log' . DIRECTORY_SEPARATOR;

To

public const XML_LOG_FILE_NAME = 'system/api_log/file';
public const XML_LOG_LEVEL = 'system/api_log/level';
public const XML_ADD_SLASHES = 'system/api_log/add_slashes';

public const LOG_DIR = 'var' . DIRECTORY_SEPARATOR . 'log' . DIRECTORY_SEPARATOR;

And update the README.md documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions