# Poco::Util

# class FastLoggerConfigurator

Library: Util
Package: Configuration
Header: Poco/Util/FastLoggerConfigurator.h

## Description

This utility class uses a configuration object to configure the FastLogger logging subsystem.

FastLoggerConfigurator configures FastLogger instances using properties under "logging.fastloggers" in the configuration.

Unlike regular Logger configuration, FastLogger does not use channels or formatters - these are handled internally by the Quill backend. The configuration focuses on logger hierarchy and log levels.

Configuring FastLoggers

A FastLogger is configured using the "logging.fastloggers" property. Each logger requires a "name" property (empty string for root) and supports a "level" property.

Additional sink configuration:

- logging.fastloggers.sinks.console = true (default)
- logging.fastloggers.sinks.file = /path/to/logfile.log

Examples:

    logging.fastloggers.root.level = warning
    logging.fastloggers.l1.name = HTTP.Server
    logging.fastloggers.l1.level = information
    logging.fastloggers.l2.name = Database
    logging.fastloggers.l2.level = debug

The FastLoggerConfigurator can be used alongside the regular LoggingConfigurator - they configure separate logger hierarchies.

## Member Summary

Member Functions: configure, operator =

## Constructors

### FastLoggerConfigurator

FastLoggerConfigurator() = default;

Creates the FastLoggerConfigurator.

### FastLoggerConfigurator

FastLoggerConfigurator(
const FastLoggerConfigurator & param565
) = delete;

## Destructor

### ~FastLoggerConfigurator

~FastLoggerConfigurator() = default;

Destroys the FastLoggerConfigurator.

## Member Functions

### configure

void configure(
AbstractConfiguration::Ptr pConfig
);

Configures the FastLogger subsystem based on the given configuration.

A ConfigurationView can be used to pass only a part of a larger configuration.

### operator =

FastLoggerConfigurator & operator = (
const FastLoggerConfigurator & param566
) = delete;