Skip to content

Move the logger logic to the base class #14396

Open
@pixcc

Description

@pixcc

Some CLI commands using logger to print logs. They initialize logger something like that:

Log = std::make_shared<TLog>(MakeLogBackend(config.VerbosityLevel));
Log->SetFormatter(GetPrefixLogFormatter(""));

It would be nice to move this to base class.

Metadata

Metadata

Assignees

Labels

area/cliCLI related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions