nlog

package
v1.3.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 12 Imported by: 3

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

This section is empty.

Variables

View Source
var (
	MaxSize int64 = 4 * 1024 * 1024
)

Functions

func ErrLogName

func ErrLogName() string

func ErrorDepth

func ErrorDepth(depth int, args ...any)

func Errorf

func Errorf(format string, args ...any)

func Errorln

func Errorln(args ...any)

func Flush

func Flush(exit ...bool)

func InfoDepth

func InfoDepth(depth int, args ...any)

func InfoLogName

func InfoLogName() string

func Infof

func Infof(format string, args ...any)

func Infoln

func Infoln(args ...any)

func InitFlags

func InitFlags(flset *flag.FlagSet)

func OOB added in v1.3.19

func OOB() bool

func SetLogDirRole

func SetLogDirRole(dir, role string)

func SetTitle

func SetTitle(s string)

func Since added in v1.3.19

func Since() time.Duration

func Warningf

func Warningf(format string, args ...any)

func Warningln

func Warningln(args ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL