func Memory(buffer io.Writer, options ...Option) *Logger {
	return MustNew(
		append([]Option{
			OptAll(),
			OptOutput(buffer),
			OptFormatter(NewTextOutputFormatter(
				OptTextNoColor(),
				OptTextHideTimestamp(),
			)),
		}, options...)...)
}
// Memory creates a logger that logs to the in-memory writer passed in.
//
// It is useful for writing tests that collect log output.
Memory creates a logger that logs to the in-memory writer passed in.

It is useful for writing tests that collect log output.
// Memory creates a logger that logs to the in - memory writer passed in . // // It is useful for writing tests that collect log output .
func Memory(buffer io.Writer, options ...Option) *Logger {
	return MustNew(
		append([]Option{
			OptAll(),
			OptOutput(buffer),
			OptFormatter(NewTextOutputFormatter(
				OptTextNoColor(),
				OptTextHideTimestamp(),
			)),
		}, options...)...)
}
func Memory ( buffer io . Writer , options ... Option ) * Logger { return MustNew ( append ( [ ] Option { OptAll ( ) , OptOutput ( buffer ) , OptFormatter ( NewTextOutputFormatter ( OptTextNoColor ( ) , OptTextHideTimestamp ( ) , ) ) , } , options ... ) ... ) }
Memory creates a logger that logs to the in-memory writer passed in.
Memory creates a logger that logs to the in - memory writer passed in .