# Trait RulewithLogging

#### Direct Known Users

AuthenticationRule, DecryptionRule, SecurityRule
Located at rule-classes/trait/RulewithLogging.php

Methods summary
`public string` | # `logSetting( )` return log forwarding profile if any return log forwarding profile if any #### Returns `string`
`protected` | # `_readLogSettingFromXml( )`
`public boolean` | # `setLogSetting( string $newLogSetting )` #### Parameters $newLogSetting `string` $newLogSetting #### Returns `boolean` true if value changed
`public` | # `API_setLogSetting( mixed $newLogSetting )`

Properties summary
`protected boolean` | $logSetting | `FALSE` | #

Magic properties summary
`public `DOMElement`` | $xmlroot | #