Replaced logging with LibLog