File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change
1
+ #### [ Version 0.1.3 Beta] ( https://github.com/ForallFramework/events.package/tree/0.1.3-beta )
2
+
3
+ * Fixed: Some old code made it past my almost all-seeing eye. The logger instance is now
4
+ properly acquired and the dependency on the log package has been noted.
5
+
1
6
#### [ Version 0.1.2 Beta] ( https://github.com/ForallFramework/events.package/tree/0.1.2-beta )
2
7
3
8
* Removed the old main.php, and created an init.php which works with the new core package.
Original file line number Diff line number Diff line change 1
- # Debug - Version 0.1.2 Beta
1
+ # Debug - Version 0.1.3 Beta
2
2
3
3
## Description
4
4
Original file line number Diff line number Diff line change 20
20
"require" : {
21
21
"forall/core" : " *" ,
22
22
"forall/wrap" : " *" ,
23
- "forall/events" : " *"
23
+ "forall/events" : " *" ,
24
+ "forall/log" : " *"
24
25
},
25
26
26
27
"autoload" : {
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public static function handleException(Exception $e)
61
61
//Get the system logger.
62
62
$ core = forall ('core.core ' );
63
63
$ debug = forall ('debug.debugger ' );
64
- $ log = $ core -> getSystemLogger ( );
64
+ $ log = forall ( ' log.logger ' );
65
65
66
66
//Detect if this is a suppressed ErrorException.
67
67
if ($ e instanceof ErrorException && !(error_reporting () & $ e ->getCode ()))
@@ -133,7 +133,7 @@ public static function handleException(Exception $e)
133
133
echo $ e2 ->getMessage ();
134
134
135
135
//Add a log entry.
136
- $ core -> getSystemLogger ( )->critical (sprintf (
136
+ forall ( ' log.logger ' )->critical (sprintf (
137
137
'A(n) %s occurred while trying to handle %s. ' , get_class ($ e2 ), get_class ($ e )
138
138
));
139
139
You can’t perform that action at this time.
0 commit comments