Do I need use logging library?
I write a wpf app using mvvm pattern and I need to implement logging system.  

The log need contain unhandled exceptions and events that I raised manually when something happen.

Also I need to have the ability to serialize the log and maybe also save the log in some file excel?).

And last I need to write some events to windows event log.

What I thought to do is datagrid control in the view that binding to CollectionView in its view model, and I'll populate the collection when its needed

I can add searching, filtering and other capabilities and I can bind the row color to the severity of the row (error = red, warning = green etc.)

I'm sure it can be save to file and about the serialize I think there is a problem to serialize CollectionView but I hope it can be resolve.

I saw once that there a .net class to write to windows events log (i'm right?) so its not a problem.      
  
  
  
Its my first time that i write app with logging system and I saw a lot of people using some logging librarys but I dont understand why.

Any answer / explanation will help.  
Thanks!

Do I need use logging library?
===

I write a wpf app using mvvm pattern and I need to implement logging system.  

The log need contain unhandled exceptions and events that I raised manually when something happen.

Also I need to have the ability to serialize the log and maybe also save the log in some file excel?).

And last I need to write some events to windows event log.

What I thought to do is datagrid control in the view that binding to CollectionView in its view model, and I'll populate the collection when its needed

I can add searching, filtering and other capabilities and I can bind the row color to the severity of the row (error = red, warning = green etc.)

I'm sure it can be save to file and about the serialize I think there is a problem to serialize CollectionView but I hope it can be resolve.

I saw once that there a .net class to write to windows events log (i'm right?) so its not a problem.      
  
  
  
Its my first time that i write app with logging system and I saw a lot of people using some logging librarys but I dont understand why.

Any answer / explanation will help.  
Thanks!
