Logger works in one solution but not another

Apr 26, 2011 at 12:02 PM

I created a Debug Logger that logs to the Output window. I placed this in an Infrastructure project along with the Caliburn Framework. This works fine for this app and i wanted to debug a sample app that i  am doing for screens and conducters so i added the existing project, changed the framework references to the new project and added this line to my bootstrapper configure method which is the same location in my other app. 

 

            LogManager.GetLog = type => new DebugLogger(type);

 

The problem is that nothing gets written to the output window like my other app. Is there something i'm missing? both apps are WP7 apps

I even tried writting a manual line like this 

 private readonly ILog _log = LogManager.GetLog(typeof(ShellViewModel));
 
     _log.Info("Something", null);

But i don't even see this.

Apr 26, 2011 at 12:21 PM

I figured this out my shell was a usercontrol and not a PhoneApplicationPage. the shell shows either way but the logging didn't work. can someone explain why?