changed param order for log, warn, error
Refector M.Logger.log .warn .error calls