Documentation ¶
Index ¶
- Constants
- Variables
- func OpenFileOS(n string, f int, mode os.FileMode) (io.Writer, error)
- func OpenFileTimeSubst(base string, f int, mode os.FileMode) (w io.Writer, err error)
- func OpenFileTimeSubstWithSymlink(base string, f int, mode os.FileMode) (w io.Writer, err error)
- type File
- type RotatedError
Constants ¶
View Source
const ( B = 1 << (iota * 10) KB MB GB )
Variables ¶
View Source
var ( SubstChar = '@' TimeFormat = "2006-01-02_15-04-05.000" )
Functions ¶
func OpenFileOS ¶ added in v0.10.0
func OpenFileTimeSubst ¶ added in v0.10.0
Types ¶
type File ¶
type RotatedError ¶ added in v0.10.0
type RotatedError struct{}
func (RotatedError) Error ¶ added in v0.10.0
func (RotatedError) Error() string
func (RotatedError) IsRotated ¶ added in v0.10.0
func (RotatedError) IsRotated() bool
Click to show internal directories.
Click to hide internal directories.