Documentation
¶
Overview ¶
Package nlog - aistore logger, provides buffering, timestamping, writing, and flushing/syncing/rotating
- Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
Package nlog
- Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
Package nlog - aistore logger, provides buffering, timestamping, writing, and flushing/syncing/rotating
- Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
Package nlog - aistore logger, provides buffering, timestamping, writing, and flushing/syncing/rotating
- Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
Package nlog - aistore logger, provides buffering, timestamping, writing, and flushing/syncing/rotating
- Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
Index ¶
- Constants
- Variables
- func ErrLogName() string
- func ErrorDepth(depth int, args ...any)
- func Errorf(format string, args ...any)
- func Errorln(args ...any)
- func Flush(action int)
- func InfoDepth(depth int, args ...any)
- func InfoLogName() string
- func Infof(format string, args ...any)
- func Infoln(args ...any)
- func OOB() bool
- func SetPost(logToStderr bool, maxSize int64)
- func SetPre(dir, role string)
- func SetStopping()
- func SetTitle(s string)
- func Since(now int64) time.Duration
- func Stopping() bool
- func WarningDepth(depth int, args ...any)
- func Warningf(format string, args ...any)
- func Warningln(args ...any)
Constants ¶
View Source
const ( ActNone = iota ActExit ActRotate )
Variables ¶
View Source
var LogToStderr bool
View Source
var MaxSize int64 = 4 * 1024 * 1024 // usually, config.log.max_size
Functions ¶
func ErrLogName ¶
func ErrLogName() string
func ErrorDepth ¶
func SetStopping ¶ added in v1.3.23
func SetStopping()
func WarningDepth ¶ added in v1.3.26
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.