title: NLog Custom Log Level Value
body: <p>I have a database I'm trying to write my messages to and would like to use the ${level} layout, but I need to translate it to the int value for reference to my own table that stores logging levels.  Is it possible to maybe cast the level to my enum in config?  Any other ideas?</p>