liblog: Add xlog support (Thx Omnirom)