Added support for specifying log class via type parameter. Fixed correct order of ':' and enum name. Added LogToConsole attribute. Added simple testing.