Changed log model to be generalizable for all logging.