added support for boolean value as 2nd arg to logger()