hhyyrylainen / Leviathan

Leviathan Game Engine
Other
17 stars 8 forks source link

Expose log functions to JavaScript #30

Open hhyyrylainen opened 5 years ago

hhyyrylainen commented 5 years ago

Right now only console.log can be used to log things from JS. That's not optimal. Instead something like Leviathan.LogInfo() function should be added for JS to proxy calls to LOG_INFO.