aboutsummaryrefslogtreecommitdiffstats
path: root/modules/lfstransfer/logger.go
blob: 517c2d9ba135eb83900b8609dbfe5023a421844e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2024 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT

package lfstransfer

import (
	"github.com/charmbracelet/git-lfs-transfer/transfer"
)

var _ transfer.Logger = (*GiteaLogger)(nil)

// noop logger for passing into transfer
type GiteaLogger struct{}

func newLogger() transfer.Logger {
	return &GiteaLogger{}
}

// Log implements transfer.Logger
func (g *GiteaLogger) Log(msg string, itms ...any) {
}