refactor, cleanup, reduce code complexity
refactor, cleanup, reduce code complexity

NLog/NLog,BrutalCode/NLog,snakefoot/NLog,304NotModified/NLog,luigiberrettini/NLog,UgurAldanmaz/NLog,nazim9214/NLog,luigiberrettini/NLog,UgurAldanmaz/NLog,sean-gilliam/NLog,BrutalCode/NLog,nazim9214/NLog