ILXLogger¶
new ILXLogger()
- Since:
- BIP-IP TMOS 13.1
The ILXLogger Class provides global, plugin, and extension-specific logging capabilities with the iRules LX namespace.
Valid Options
- level - any valid level
- facility - any valid facility
- sanitize - escapes control characters
- consoleNewline - whether to automatically append a newline to console facility output
Valid Facilities
- DISABLED
- CONSOLE
- PUBLISHER
Valid Levels
- ALERT
- CRIT
- DEBUG
- EMERG
- ERR
- INFO
- NOTICE
- WARNING
Note: The ILXLogger class has already been instantiated in the f5-nodejs module, therefore methods can be used directly from the ILXLogger object. See examples below.
Example:
var f5 = require('f5-nodejs');
var logger = new f5.ILXLogger('info', 'publisher');
logger.send('my data');
Methods¶
closePublisher()¶
getSanitize()¶
The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.