log4shib::...nfigurator(3)

πŸ“¦ version 2.0.1, in opensuse-leap 16.0

🌸 NAME 🌸

okay so this is the log4shib::...nfigurator(3) page, from the Library Functions Manual β€” yes, the title is a little cursed, but we move πŸ’…

log4shib::SimpleConfigurator β€” this class implements a simple Configurator for log4shib.


✨ SYNOPSIS ✨

#include <SimpleConfigurator.hh>

πŸŽ€ Static Public Member Functions πŸŽ€

  • static void configure (const std::string &initFileName) β€” configure log4shib with the configuration in the given file.
  • static void configure (std::istream &initFile) β€” configure log4shib with the configuration in the given file.

πŸ’– Detailed Description πŸ’–

This class implements a simple Configurator for log4shib.

It is a temporary hack with an undocumented configuration format. iykyk β€” that's literally what the docs say, bestie.

Deprecated: As of version 0.3.2, log4shib includes a log4j format compatible PropertyConfigurator, removing the need for SimpleConfigurator. This class will be removed in 0.4.0. so yeah, it's giving legacy era 😭

πŸ¦‹ Member Function Documentation πŸ¦‹

πŸ’œ log4shib::SimpleConfigurator::configure (const std::string &initFileName) [static]

Configure log4shib with the configuration in the given file. NB. The configuration file format is undocumented and may change without notice.

Since: 0.2.6

Parameters:

  • initFileName β€” name of the configuration file.

Exceptions:

  • ConfigureFailure if the method encountered a read or syntax error.

🧚 log4shib::SimpleConfigurator::configure (std::istream & initFile) [static]

Configure log4shib with the configuration in the given file. NB. The configuration file format is undocumented and may change without notice.

Since: 0.3.1

Parameters:

  • initFile β€” an input stream to the configuration file.

Exceptions:

  • ConfigureFailure if the method encountered a read or syntax error.

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for log4shib from the source code. the machine wrote it, bestie πŸ€–βœ¨


okay bye bestie πŸ’… β€” the footer’s source/version is log4shib, Version 2.0.1, and there’s no date listed on it. periodt 🫢