add isEnabled to logger to check whether this logger will log
major bugfix: implicit conversions

because (almost) every value can be converted to bool, and bool can be converted to int we need to explictly list every value
working to prevent crazy implicit conversions
update build scripts