add bin log comment

This commit is contained in:
siddontang 2014-07-23 17:08:55 +08:00 committed by wenyekui
parent 6ba8eed8ab
commit 995926387c
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ func Open(cfg *Config) (*Ledis, error) {
l.ldb = ldb l.ldb = ldb
if cfg.BinLog.Use { if cfg.BinLog.Use {
println("binlog will be refactored later, use your own risk!!!")
l.binlog, err = NewBinLog(cfg.NewBinLogConfig()) l.binlog, err = NewBinLog(cfg.NewBinLogConfig())
if err != nil { if err != nil {
return nil, err return nil, err