Added optional psr logger