move levels to logger, so winston isn't a top-level require