This commit is contained in:
2021-04-26 17:37:53 +08:00
parent 52357f8283
commit 4608a20232
+6 -2
View File
@@ -6,6 +6,7 @@ namespace Snowflake\Error;
use Exception; use Exception;
use HttpServer\Http\Context; use HttpServer\Http\Context;
use JetBrains\PhpStorm\Pure;
use Snowflake\Core\Json; use Snowflake\Core\Json;
use Snowflake\Exception\ComponentException; use Snowflake\Exception\ComponentException;
use Snowflake\Process\Process; use Snowflake\Process\Process;
@@ -27,10 +28,13 @@ class LoggerProcess extends Process
} }
/**
public function getProcessName(): string * @return string
*/
#[Pure] public function getProcessName(): string
{ {
// TODO: Implement getProcessName() method. // TODO: Implement getProcessName() method.
return get_called_class();
} }