changed from 'log' to 'info,warn,error' methods