{"action":"reopened","issue":{"url":"https://api.github.com/repos/barbushin/php-console-laravel/issues/7","labels_url":"https://api.github.com/repos/barbushin/php-console-laravel/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/barbushin/php-console-laravel/issues/7/comments","events_url":"https://api.github.com/repos/barbushin/php-console-laravel/issues/7/events","html_url":"https://github.com/barbushin/php-console-laravel/issues/7","id":92017051,"number":7,"title":"Disabling library has no effect if someone is using a helper.","user":{"login":"shashankkrjain","id":6082806,"avatar_url":"https://avatars.githubusercontent.com/u/6082806?v=3","gravatar_id":"","url":"https://api.github.com/users/shashankkrjain","html_url":"https://github.com/shashankkrjain","followers_url":"https://api.github.com/users/shashankkrjain/followers","following_url":"https://api.github.com/users/shashankkrjain/following{/other_user}","gists_url":"https://api.github.com/users/shashankkrjain/gists{/gist_id}","starred_url":"https://api.github.com/users/shashankkrjain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shashankkrjain/subscriptions","organizations_url":"https://api.github.com/users/shashankkrjain/orgs","repos_url":"https://api.github.com/users/shashankkrjain/repos","events_url":"https://api.github.com/users/shashankkrjain/events{/privacy}","received_events_url":"https://api.github.com/users/shashankkrjain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-30T07:46:37Z","updated_at":"2015-06-30T08:07:13Z","closed_at":null,"body":"If I disable the library in config, but I am using helper, then log messages are still logged in console.\r\n\r\nIdeal 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.\r\n\r\nFor example,\r\n\r\n`PC::debug(\"Hello!\");`\r\n\r\nShould send log message to console when library is enabled, but should not do anything if its disabled."}}