add ResourceMonitor and logResource to we can pass an empty interface, allowing a log instance to be passed to sentinel to log according the main package