func (pb Publish) Logger(l LoggerInterface) *Publish {
	return &Publish{
		WorkerScheduler: pb.WorkerScheduler,
		DB:              pb.DB,
		logger:          l,
		deleteCallback:  pb.deleteCallback,
	}
}
// Logger set logger that used to print publish logs
Logger set logger that used to print publish logs
// Logger set logger that used to print publish logs
func (pb Publish) Logger(l LoggerInterface) *Publish {
	return &Publish{
		WorkerScheduler: pb.WorkerScheduler,
		DB:              pb.DB,
		logger:          l,
		deleteCallback:  pb.deleteCallback,
	}
}
func ( pb Publish ) Logger ( l LoggerInterface ) * Publish { return & Publish { WorkerScheduler : pb . WorkerScheduler , DB : pb . DB , logger : l , deleteCallback : pb . deleteCallback , } }
Logger set logger that used to print publish logs
Logger set logger that used to print publish logs