Not exactly a bug but this is to continue the work I have done here #3091
It is open to discussion but I think, like for attributes
that resources
should also be by default in the root object and that it would be up to the user to add different levels if necessary.
This would make sense as for instance in the resources we would put user.id
which is common to all logs and that would not make sense to "manually" add it through the log attributes
every time we call EmitLogRecord