tidesdb / tidesdb

High-performance, durable, transactional embedded storage engine designed for flash and RAM optimization.
https://tidesdb.com
Apache License 2.0
36 stars 2 forks source link

Configuration for TidesDB::LSMT logging #15

Closed guycipher closed 1 week ago

guycipher commented 1 week ago

Implement logging functionality on TidesDB::LSMT

bool logging
bool logToFile

So say logging enabled logs to standard output and with logToFile and logging enabled we write logs to .log file. There would also be a new header constant

const std::string LOG_EXTENSION = ".log";

This is good for debugging purposes, etc.

Would be false by default as there would be a performance cut logging.

guycipher commented 1 week ago

Completed in #31