Use liblog for logging