Start to add zap logger everywhere

This commit is contained in:
Ben Sarmiento
2023-11-05 00:02:22 +01:00
parent 4136310622
commit 1b116c2194
9 changed files with 204 additions and 50 deletions

View File

@@ -10,7 +10,7 @@ type ZurgConfig struct {
CanRepair bool `yaml:"enable_repair"`
OnLibraryUpdate string `yaml:"on_library_update"`
NetworkBufferSize int `yaml:"network_buffer_size"`
MountPath string `yaml:"mount_path"`
MountPoint string `yaml:"mount_point"`
}
func (z *ZurgConfig) GetToken() string {
@@ -57,6 +57,6 @@ func (z *ZurgConfig) GetNetworkBufferSize() int {
return z.NetworkBufferSize
}
func (z *ZurgConfig) GetMountPath() string {
return z.MountPath
func (z *ZurgConfig) GetMountPoint() string {
return z.MountPoint
}