Skip to content

Disabling library has no effect if someone is using a helper. #7

@shashankkrjain

Description

@shashankkrjain

If I disable the library in config, but I am using helper, then log messages are still logged in console.

Ideal behavior would be to log messages when library is enabled, but don't log and simply skip the messages if library is disabled. This will make moving from development to production very easy.

For example,

PC::debug("Hello!");

Should send log message to console when library is enabled, but should not do anything if its disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions