Added initial logging API