1
Vote

Load file is executed only if debug is enabled

description

Hi,
 
Was checking the code for a sideproject of mine and steped onto a possible bug :)
 
Correct me if im wrong :)
 
In private void mergeFile_Click(object sender, RoutedEventArgs e)
 
            if (log.IsDebugEnabled)                {                    log.Info("Loading file " + t);                    loadFile(t, true);                }
 
Load file is executed only if debug is enabled
 
Did not test the code, so dont know if its a bug
 
Just for info

comments