Evaluate Log Expressions with Various Bases