ethlog: use Godoc for code examples in documentation

This ensures that examples will actually compile.