Added default template parameters for Logger.

Also, Logger now checks priority statically instead of during runtime..