Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Replaced RegisterDebugListener with AddDebugListener

...

Tip

Use the ApiCop feature to get a detailed advisory report on your software

Table of Contents

General

Disable the call to LogManager.

...

AddDebugListener

The DebugListener is a very useful class while developing an application. It throws all the logging of Catel to the output window of Visual Studio which allows you to view exactly what happens behind the scenes. However, writing all these logs to the output window is very expensive and might cause an application to perform badly.

Therefore, it is important to disable any call to LogManager.RegisterDebugListenerAddDebugListener when releasing an application or while performance testing.

...