pub fn format_gas(gas: u64) -> String
Returns a formatted gas log, showing either:
Depending on the magnitude of gas.