Hi

I have a question about the SmtpAppender class. I want to have a dynamic 
subject. It should contain the log level, and the first line of the message.

For example:
log.Error("My error message") gives a subject like: "ERROR My error message"

log.Fatal("My fatal message\nHello world") gives a subject like: "FATAL My 
fatal message"


Is this possible?

Best regards,
Morten Andersen

Reply via email to