Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultLogFileMode = os.FileMode(0666)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(level boshlog.LogLevel, filePath string, fileMode os.FileMode, fs boshsys.FileSystem) (boshlog.Logger, boshsys.File, error)
New returns a new logger (that writes to the specified file) & the open file handle All log levels >= the specified level are written to the specified file. User is responsible for closing the returned file handle, unless an error is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.