You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this link adds a getter for the streamhandler url.
I am having issues figuring out, after my $log = Cascade::getLogger('config'); , how to access the name of the file I am logging to, as a result of my (snippet) config:
Yes I know that. What I am asking is more basic - I need to use the URL in further php processing, long after instantiating when only the logging object is available, not the variable $logfile. How do I get it?
In standard object programming if I had something like protected $attribute; in the class I would do code something like $myval = $object->getAttribute(); which would give me the value of, say, $this->attribute; from $object.
this link adds a getter for the streamhandler url.
I am having issues figuring out, after my
$log = Cascade::getLogger('config');
, how to access the name of the file I am logging to, as a result of my (snippet) config:Logging is working. When I dump the object I see the URL. How do I get it after making my logger object?
The text was updated successfully, but these errors were encountered: