Define LOG_CONFIG_PROP

Define Documentation

LOG_CONFIG_PROP(string)

Configures log4cxx from a string containing list of properties. This is equivalent to configuring with a file name containing the same data as a string.

Note

Use of this macro will likely produce hard-coded configuration which is not advised for general-use code. It may be useful where pre-defined hard-coded configuration is necessary, e.g. in unit tests.

Parameters
  • string: List of properties (lines separated by new line character)