codemirror log widget