package logging
import "github.com/containerd/nydus-snapshotter/internal/logging"
Index ¶
- Constants
- func SetUp(logLevel string, logToStdout bool, logDir string, logRotateArgs *RotateLogArgs) error
- func WithContext() context.Context
- type RotateLogArgs
Constants ¶
const (
DefaultLogDirName = "logs"
)
Functions ¶
func SetUp ¶
func SetUp(logLevel string, logToStdout bool, logDir string, logRotateArgs *RotateLogArgs) error
func WithContext ¶
Types ¶
type RotateLogArgs ¶
type RotateLogArgs struct { RotateLogMaxSize int RotateLogMaxBackups int RotateLogMaxAge int RotateLogLocalTime bool RotateLogCompress bool }
Source Files ¶
- Version
- v0.15.1 (latest)
- Published
- Jan 26, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 6 days ago –
Tools for package owners.