package log

import (
	"github.com/UpmeshLTD/urus-aio/infrastructure/logging"
	"github.com/UpmeshLTD/urus-aio/pdf/config"
)

func init() {
	logging.ConfigSectionName = "log"
}

// NewZapDriverLogger returns a new instance of Logger that uses Zap & Stack Driver.
func NewZapDriverLogger(configProvider config.Config) Logger {
	return logging.NewZapDriverLoggerV2(&logging.Config{
		IsDevelopment: false,
		Level:         "info",
	})
}
