log4shib::...nfigurator(3)
π NAME π
log4shib::PropertyConfigurator β okay so this is the property configurator, and its whole vibe is reading a config file using the same (or similar) format to the config file used by log4j. This page lives in the Library Functions Manual, bestie. β¨
π¦ SYNOPSIS π¦
#include <PropertyConfigurator.hh>
π Static Public Member Functions
static void configure (const std::string &initFileName)β the static public member function on deck. π
πΈ DETAILED DESCRIPTION πΈ
Property configurator will read a config file using the same (or similar) format to the config file used by log4j. Thatβs the main-character energy of this class, fr fr.
This file is in a standard Java "properties" file format.
Example:
# a simple test config
log4j.rootCategory=DEBUG, rootAppender
log4j.category.sub1=A1
log4j.category.sub2=INFO
log4j.category.sub1.sub2=ERROR, A2
log4j.appender.rootAppender=org.apache.log4j.ConsoleAppender
log4j.appender.rootAppender.layout=org.apache.log4j.BasicLayout
log4j.appender.A1=org.apache.log4j.FileAppender
log4j.appender.A1.fileName=A1.log
log4j.appender.A1.layout=org.apache.log4j.BasicLayout
log4j.appender.A2=org.apache.log4j.ConsoleAppender
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=The message %m at time %d%n
Since: 0.3.2 β iconic era. π
π₯ MEMBER FUNCTION DOCUMENTATION π₯
Hereβs the doc drop, and itβs literally just the signature:
void log4shib::PropertyConfigurator::configure (const std::string &
initFileName) [static]
π AUTHOR π
Generated automatically by Doxygen for log4shib from the source code. Thatβs the author line, bestie β Doxygen did the typing. π€β¨
okay thatβs the whole page! Footer sign-off: source/version is log4shib, Version 2.0.1, and the page title is log4shib::...nfigurator(3). Thereβs no date in the footer, so Iβm not making one up β slay responsibly. π
π
π¦ where this page comes from
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms