\Hubleto\Framework\Interfaces\LoggerInterface
Methods
ƒ initInternalLogger
public initInternalLogger(string $loggerName = ""): void
Parameters
| Parameter |
Type |
Description |
$loggerName |
string |
|
ƒ getInternalLogger
public getInternalLogger(mixed $loggerName): object
Parameters
| Parameter |
Type |
Description |
$loggerName |
mixed |
|
ƒ cliEcho
public cliEcho(mixed $message, mixed $loggerName, mixed $severity): void
Parameters
| Parameter |
Type |
Description |
$message |
mixed |
|
$loggerName |
mixed |
|
$severity |
mixed |
|
ƒ debug
public debug(mixed $message, array $context = [], mixed $loggerName = 'core'): void
Parameters
| Parameter |
Type |
Description |
$message |
mixed |
|
$context |
array |
|
$loggerName |
mixed |
|
ƒ info
public info(mixed $message, array $context = [], mixed $loggerName = 'core'): void
Parameters
| Parameter |
Type |
Description |
$message |
mixed |
|
$context |
array |
|
$loggerName |
mixed |
|
ƒ warning
public warning(mixed $message, array $context = [], mixed $loggerName = 'core'): void
Parameters
| Parameter |
Type |
Description |
$message |
mixed |
|
$context |
array |
|
$loggerName |
mixed |
|
ƒ error
public error(mixed $message, array $context = [], mixed $loggerName = 'core'): void
Parameters
| Parameter |
Type |
Description |
$message |
mixed |
|
$context |
array |
|
$loggerName |
mixed |
|
Inherited methods
ƒ getServiceStatic
public static getServiceStatic(string $service): mixed
- This method is static.
Parameters
| Parameter |
Type |
Description |
$service |
string |
|
ƒ setDebugLevel
public setDebugLevel(int $level): void
Parameters
| Parameter |
Type |
Description |
$level |
int |
|
ƒ getDebugLevel
public getDebugLevel(): int
ƒ getService
public getService(string $service): mixed
Parameters
| Parameter |
Type |
Description |
$service |
string |
|
ƒ env
public env(): \Hubleto\Framework\Interfaces\EnvInterface
ƒ authProvider
public authProvider(): \Hubleto\Framework\Interfaces\AuthInterface
ƒ db
public db(): \Hubleto\Framework\Interfaces\DbInterface
ƒ appManager
public appManager(): \Hubleto\Framework\Interfaces\AppManagerInterface
ƒ router
public router(): \Hubleto\Framework\Interfaces\RouterInterface
ƒ hookManager
public hookManager(): \Hubleto\Framework\Interfaces\HookManagerInterface
ƒ sessionManager
public sessionManager(): \Hubleto\Framework\Interfaces\SessionManagerInterface
ƒ permissionsManager
public permissionsManager(): \Hubleto\Framework\Interfaces\PermissionsManagerInterface
ƒ cronManager
public cronManager(): \Hubleto\Framework\Interfaces\CronManagerInterface
ƒ emailProvider
public emailProvider(): \Hubleto\Framework\Interfaces\EmailProviderInterface
ƒ config
public config(): \Hubleto\Framework\Interfaces\ConfigManagerInterface
ƒ logger
public logger(): \Hubleto\Framework\Interfaces\LoggerInterface
ƒ locale
public locale(): \Hubleto\Framework\Interfaces\LocaleInterface
ƒ renderer
public renderer(): \Hubleto\Framework\Interfaces\RendererInterface
ƒ translator
public translator(): \Hubleto\Framework\Interfaces\TranslatorInterface
ƒ getModel
public getModel(string $model): \Hubleto\Framework\Interfaces\ModelInterface
Parameters
| Parameter |
Type |
Description |
$model |
string |
|
ƒ getController
public getController(string $controller): \Hubleto\Framework\Interfaces\ControllerInterface
Parameters
| Parameter |
Type |
Description |
$controller |
string |
|
ƒ translate
public translate(string $string, array $vars = [], string $contextInner = ''): string
Parameters
| Parameter |
Type |
Description |
$string |
string |
|
$vars |
array |
|
$contextInner |
string |
|