// NewLogger returns a generic log handler that can handle all type of messages.
NewLogger returns a generic log handler that can handle all type of messages.
// NewLogger returns a generic log handler that can handle all type of messages .
func NewLogger(logWriterCreator WriterCreator) Handler {
	return &generalLogger{
		creator: logWriterCreator,
		buffer:  make(chan Message, 16),
		access:  semaphore.New(1),
		done:    done.New(),
	}
}
func NewLogger ( logWriterCreator WriterCreator ) Handler { return & generalLogger { creator : logWriterCreator , buffer : make ( chan Message , 16 ) , access : semaphore . New ( 1 ) , done : done . New ( ) , } }
NewLogger returns a generic log handler that can handle all type of messages.
NewLogger returns a generic log handler that can handle all type of messages .