Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use public const declaration in class SystemConfiguration #9

Open
MaximGns opened this issue Oct 17, 2022 · 0 comments
Open

use public const declaration in class SystemConfiguration #9

MaximGns opened this issue Oct 17, 2022 · 0 comments

Comments

@MaximGns
Copy link

MaximGns commented Oct 17, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant