Start a new topic

Documentation Bug - Logger

On this page, http://devcenter.kinvey.com/rest/reference/business-logic/reference.html#logger-module , it shows that the logger module has a method "warning". That method does not exist. Using it returns:



{"error":"BLRuntimeError","description":"TheBusinessLogicscripthasaruntimeerror.Seedebugmessagefordetails.","debug":"TypeError:Object[objectObject]hasnomethod'warning'"}



The correct method is simply "warn":

logger.warn('Some crazy problem!');



1 Comment

Thanks Justin! But noted and in our queue to fix.
Login or Signup to post a comment