Open sandboxFocus

Method GetString

GetString(string, string)

Gets the value of a logging property as a string, or defaultValue if the property does not exist.

Declaration
public string GetString(string property, string defaultValue = "")
Parameters
Type Name Description
string property

Name of a logging property.

string defaultValue

The default value to return if the property does not exist.

Returns
Type Description
string