UNPKG

@naturalcycles/db-lib

Version:

Lowest Common Denominator API to supported Databases

20 lines (19 loc) 735 B
export var CommonDaoLogLevel; (function (CommonDaoLogLevel) { /** * Same as undefined */ CommonDaoLogLevel[CommonDaoLogLevel["NONE"] = 0] = "NONE"; /** * Log operations (e.g "getById returned 1 row"), but not data */ CommonDaoLogLevel[CommonDaoLogLevel["OPERATIONS"] = 10] = "OPERATIONS"; /** * Log operations and data for single operations (e.g getById), but not batch operations. */ CommonDaoLogLevel[CommonDaoLogLevel["DATA_SINGLE"] = 20] = "DATA_SINGLE"; /** * Log EVERYTHING - all data passing in and out (max 10 rows). Very verbose! */ CommonDaoLogLevel[CommonDaoLogLevel["DATA_FULL"] = 30] = "DATA_FULL"; })(CommonDaoLogLevel || (CommonDaoLogLevel = {}));