I'm trying to create a new formatter for Syslog message : timestamp hostname function[line]: message How can I introduce the variable hostname, should I extend Record or is there other possibilities ?
I'm trying to create a new formatter for Syslog message :
timestamp hostname function[line]: message
How can I introduce the variable hostname, should I extend Record or is there other possibilities ?