implement Log struct for template.
implement default theme.