General
Just change the path to the place you actually have the logs (log files) kept. Other than that its all cake work. Include the logs.inc or if its part of a greater include into the pages you want to use the functions on and call it like this:

Log_user "bleh"
Its ugly but it works. I didn't include the css i use but i imagine that you can be creative. Have fun and happy hacking.
Site Logs - All - Today - report
LogFile not found. Aborting Operation