Added C-like API for GfxLog