Code Duplication    Length = 9-9 lines in 2 locations

src/Eccube/Resource/functions/log.php 2 locations

@@ 55-63 (lines=9) @@
52
    }
53
}
54
55
if (!function_exists('log_error')) {
56
    function log_error($message)
57
    {
58
        $app = \Eccube\Application::getInstance();
59
        if (isset($app['eccube.log'])) {
60
            $app['eccube.log']->error($message);
61
        }
62
    }
63
}
64
65
if (!function_exists('log_warning')) {
66
    function log_warning($message)
@@ 85-93 (lines=9) @@
82
    }
83
}
84
85
if (!function_exists('log_info')) {
86
    function log_info($message)
87
    {
88
        $app = \Eccube\Application::getInstance();
89
        if (isset($app['eccube.log'])) {
90
            $app['eccube.log']->info($message);
91
        }
92
    }
93
}
94
95
if (!function_exists('log_debug')) {
96
    function log_debug($message)