Modified LogWorkers so that writing data to file is doing via seperate goroutine
- Modifications to async FileWriter routine
- Modifications to async FileWriter routine
Some more modifications to the FileWritter function
Fixed file writing issue
Various fixes
- Updated debug statements to include timestamp
- Increased channel buffer size for pending log events and pending writes
- Moved creation of FileWritter go routine outside of the loop where LogWorkers are spawned
Added option to explicitly force fsync to disk on buffer fill
Added force_fsync option