Added logger support, added test for all the posibile types