code: func FromContext(ctx context.Context) Logger {
  	if ctx == nil {
  		panic("nil context")
  	}
  
  	logger, ok := ctx.Value(loggerKey).(Logger)
  	if !ok {
  		logger = mainLogger
  	}
  
  	return logger
  }
docs: // FromContext Gets the logger from context