provide logger to plugins