Added feature to log straight in