I need get property of log name on my Laravel app.
I get with and array with a object with method:
$arr = Log::getMonolog()->getHandlers();
dd($arr);
Result
array:1 [
0 => Monolog\Handler\RotatingFileHandler {#43
#filename: "/Users/abkrim/desarrollos/cprsync_v3/storage/logs/cprsync.log"
..
#url: "/Users/abkrim/desarrollos/cprsync_v3/storage/logs/cprsync-2017-01-06.log"
...
#processors: []
}
]
I need access to value url, and I try with array conversion, get_object_vars... but any work.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2hXVaR2
via IFTTT
Aucun commentaire:
Enregistrer un commentaire