Added missing prototypes for zlog class

Forgot to add all the methods in the API
- also added gcc printf validation on calls