Closed ghost closed 8 years ago
@IGZgustavomarin it's possible now. Just use Console
dependency in crud hook.
@IGZgustavomarin Here's an example if it helps...
beforeSave: function(Entity, Crud, Console) {
Console.log(Entity.applicantstatus.name);
Console.log(Entity.applicantstatus.id);
}
thanks!
Is it possible to add
console.log
or a logger service insidebeforeSave
or other hooks? Any example?