UNPKG

@naturalcycles/db-lib

Version:

Lowest Common Denominator API to supported Databases

23 lines (22 loc) 869 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CommonDaoLogLevel = void 0; 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 || (exports.CommonDaoLogLevel = CommonDaoLogLevel = {}));