log frame

basic code