13
13
14
14
trait Loggable
15
15
{
16
- private $ icl ;
16
+ private $ icLogger ;
17
17
18
18
protected function initialize (InputInterface $ input , OutputInterface $ output )
19
19
{
@@ -47,7 +47,7 @@ private function initializeErrorHandling()
47
47
app ()->singleton ('log.icl ' , function () {
48
48
return new Logger ('ICL ' , $ this ->getLogHandlers ());
49
49
});
50
- $ this ->icl = app ('log.icl ' );
50
+ $ this ->icLogger = app ('log.icl ' );
51
51
52
52
app ()->singleton (ExceptionHandlerContract::class, ExceptionHandler::class);
53
53
app (ExceptionHandlerContract::class);
@@ -70,41 +70,41 @@ protected function getLogPath()
70
70
71
71
protected function logDebug ($ message , array $ context = [])
72
72
{
73
- return $ this ->icl ->debug ($ message , $ context );
73
+ return $ this ->icLogger ->debug ($ message , $ context );
74
74
}
75
75
76
76
protected function logInfo ($ message , array $ context = [])
77
77
{
78
- return $ this ->icl ->info ($ message , $ context );
78
+ return $ this ->icLogger ->info ($ message , $ context );
79
79
}
80
80
81
81
protected function logNotice ($ message , array $ context = [])
82
82
{
83
- return $ this ->icl ->notice ($ message , $ context );
83
+ return $ this ->icLogger ->notice ($ message , $ context );
84
84
}
85
85
86
86
protected function logWarning ($ message , array $ context = [])
87
87
{
88
- return $ this ->icl ->warning ($ message , $ context );
88
+ return $ this ->icLogger ->warning ($ message , $ context );
89
89
}
90
90
91
91
protected function logError ($ message , array $ context = [])
92
92
{
93
- return $ this ->icl ->error ($ message , $ context );
93
+ return $ this ->icLogger ->error ($ message , $ context );
94
94
}
95
95
96
96
protected function logCritical ($ message , array $ context = [])
97
97
{
98
- return $ this ->icl ->critical ($ message , $ context );
98
+ return $ this ->icLogger ->critical ($ message , $ context );
99
99
}
100
100
101
101
protected function logAlert ($ message , array $ context = [])
102
102
{
103
- return $ this ->icl ->alert ($ message , $ context );
103
+ return $ this ->icLogger ->alert ($ message , $ context );
104
104
}
105
105
106
106
protected function logEmergency ($ message , array $ context = [])
107
107
{
108
- return $ this ->icl ->emergency ($ message , $ context );
108
+ return $ this ->icLogger ->emergency ($ message , $ context );
109
109
}
110
110
}
0 commit comments