Reworked publication for loggers to use events.

Also placed nuget packages in .gitignore.