LogIt++
Loading...
Searching...
No Matches
logit::PatternCompiler Class Reference

Compiler for log formatting patterns. More...

#include <PatternCompiler.hpp>

Public Types

using CompileContext = FormatInstruction::CompileContext
 

Static Public Member Functions

static std::vector< FormatInstructioncompile (const std::string &pattern, CompileContext context=CompileContext::Default)
 Compiles a pattern string into a list of format instructions.
 

Detailed Description

Compiler for log formatting patterns.

Definition at line 430 of file PatternCompiler.hpp.

Member Typedef Documentation

◆ CompileContext

Member Function Documentation

◆ compile()

static std::vector< FormatInstruction > logit::PatternCompiler::compile ( const std::string & pattern,
CompileContext context = CompileContext::Default )
inlinestatic

Compiles a pattern string into a list of format instructions.

Parameters
patternThe pattern string to compile.
contextCompilation context for handling special cases.
Returns
A vector of format instructions.

Definition at line 438 of file PatternCompiler.hpp.


The documentation for this class was generated from the following file: