--- title: danog\MadelineProto\Settings\Logger: Logger settings. description: --- # `danog\MadelineProto\Settings\Logger` [Back to index](../../../index.md) > Author: Daniil Gentili Logger settings. ## Method list: * `getType()` * `setType(): self` * `getExtra(): null|callable|string` * `setExtra(null|callable|string $extra): self` * `getLevel()` * `setLevel(): self` * `getMaxSize(): int` * `setMaxSize(int $maxSize): self` * `hasChanged(): bool` ## Methods: ### `getType()` Get $type Logger type. --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setType(): self` Set $type Logger type. --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getExtra(): null|callable|string` Get extra parameter for logger. --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setExtra(null|callable|string $extra): self` Set extra parameter for logger. Parameters: * `$extra`: `null|callable|string` Extra parameter for logger. --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getLevel()` Get logging level. --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setLevel(): self` Set logging level. --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `getMaxSize(): int` Get maximum filesize for logger, in case of file logging. --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `setMaxSize(int $maxSize): self` Set maximum filesize for logger, in case of file logging. Parameters: * `$maxSize`: `int` Maximum filesize for logger, in case of file logging. --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `hasChanged(): bool` Get whether this setting was changed, also applies changes. --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) --- Generated by [danog/phpdoc](https://phpdoc.daniil.it)