Chat - Log

Implementation of logging functions