mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-22 16:15:34 +08:00
fix logger constructor
This commit is contained in:
@@ -79,7 +79,7 @@ class ContainerServicesProvider
|
||||
$container->instance('worker_id', Framework::$server->worker_id);
|
||||
|
||||
$container->singleton(AdapterInterface::class, OneBot11Adapter::class);
|
||||
$container->singleton(LoggerInterface::class, ZMConfig::get('logging.logger'));
|
||||
$container->instance(LoggerInterface::class, ZMConfig::get('logging.logger')());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user