Apache log4cxx  Version 0.12.0
log4cxx::helpers::System Class Reference

The System class contains several useful class fields and methods. More...

#include <system.h>

Static Public Member Functions

static LogString getProperty (const LogString &key)
 Gets the system property indicated by the specified key. More...
 

Detailed Description

The System class contains several useful class fields and methods.

It cannot be instantiated.

Member Function Documentation

◆ getProperty()

static LogString log4cxx::helpers::System::getProperty ( const LogString key)
static

Gets the system property indicated by the specified key.

Parameters
keythe name of the system property.
Returns
the string value of the system property, or the default value if there is no property with that key.
Exceptions
IllegalArgumentExceptionif key is empty.

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