Build a table containing log values derived from a HLL running on a PC. Embed this table into your program. You could use maybe 10, maybe 50 points in the table and interpolate between them to get a log reading. This method is not precise but workable since I assume you only need to visualise the log reading on a display. For precise log values, you have to do it the hard way.

Jerson