Update NSLogger API

Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>