PMCORE-1335 ProcessMaker core should be use the native Laravel log mechanism.

This commit is contained in:
Roly Rudy Gutierrez Pinto
2020-08-10 17:11:55 -04:00
parent 061d4531f1
commit c865e65658
45 changed files with 731 additions and 1535 deletions

View File

@@ -2,10 +2,14 @@
namespace App\Providers;
use App\Helpers\Workspace;
use App\Log\LogManager;
use Illuminate\Support\Facades\App;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
@@ -13,7 +17,13 @@ class AppServiceProvider extends ServiceProvider
*/
public function register()
{
//
App::bind('workspace', function() {
return new Workspace();
});
$this->app->singleton('log', function ($app) {
return new LogManager($app);
});
}
/**