UNPKG

vegana

Version:

vegana is a container based js framework

61 lines 1.69 kB
{ "template": [ "2iyza9rkkm1pgl2c", "2iyza7ekkm2stknj" ], "rows": { "2iyza9rkkm1pgl2c": { "id": "2iyza9rkkm1pgl2c", "template": [ "2iyza9rkkm1pgmf8", "2iyza9rkkm1pgwzx" ], "containers": { "2iyza9rkkm1pgmf8": { "id": "2iyza9rkkm1pgmf8", "field": { "type": "heading", "data": { "value": "engine.common.error" } } }, "2iyza9rkkm1pgwzx": { "id": "2iyza9rkkm1pgwzx", "field": { "type": "paragraph", "data": { "value": "this api is used to log errors with \"!!! \" prefix and data if given, it takes 2 arguments first is string second is any valid js object they will be console logged." } }, "style": { "width": "90%" } } } }, "2iyza7ekkm2stknj": { "id": "2iyza7ekkm2stknj", "template": [ "2iyza7ekkm2stlnb" ], "containers": { "2iyza7ekkm2stlnb": { "id": "2iyza7ekkm2stlnb", "field": { "type": "code", "data": { "value": "\n\nconst data = {error:'some'};\n\nengine.common.error(\"some failed\",data);\n\n//console output = \"!!! some failed\"\n//alos the data is printed in console" } }, "style": { "width": "90%" } } } } }, "title": "Vegana Api : Engine Common Error", "keywords": "vegana,api,engine,common,error", "discription": "console log error in vegana js" }