Fixed winston api usage