Made HiveLog more intuitive; added error and debug functions.