Documentation
¶
Overview ¶
Package csvlogger provides a simple CSV logger for Go. It is intented to store csv data in a file until the maximum file size is reached. Then a new file is created.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSizeLimitReached ¶
type FileSizeLimitReached struct{}
FileSizeLimitReached is returned if the file size limit is reached
func (*FileSizeLimitReached) Error ¶
func (m *FileSizeLimitReached) Error() string
type Writer ¶
type Writer struct {
Comma rune // Comma is the field delimiter. It is set to ',' by NewWriter.
// contains filtered or unexported fields
}
Writer is a CSV logger
func (*Writer) Close ¶
func (w *Writer) Close()
Close closes the Writer. subsequent writes to the Writer will go into a new file.
Click to show internal directories.
Click to hide internal directories.