Adds utility function to convert to string
Implement log levels