改名
This commit is contained in:
@@ -146,8 +146,7 @@ class Logger extends Component
|
|||||||
*/
|
*/
|
||||||
public function output($message, string $method = 'default')
|
public function output($message, string $method = 'default')
|
||||||
{
|
{
|
||||||
var_dump(Config::get('environment', 'pro'));
|
if (Config::get('environment', 'dev') == 'pro') {
|
||||||
if (Config::get('environment', 'pro') == 'pro') {
|
|
||||||
if ($method === 'error') {
|
if ($method === 'error') {
|
||||||
echo $message;
|
echo $message;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user