Putting layers in you default plugin

TODO: I am getting errors trying to do achieve this

I have got logging working as expected via previous techniques so this is not a high priority for me.