push
github
Core: add feature flags for log message support (#13015) * Core: add feature flags for log message support Closes #10509 * Core: add lint rule for log function declarations * Use unique names for log function wrappers * Use standard log function names for log wrappers Allows calls to be removed with LOG_NON_ERROR and LOG_ERROR build flags. Adds eslint exclusions as these are intended to be treated the same as the standard log functions. This reverts commit 75dd4ee4a. * Lint * Remove log flags from feature testing https://github.com/prebid/Prebid.js/pull/13015#issuecomment-2884252794 * Include log flags in features.json and add exception during tests * Include logResult in log function list * Extract disabled features * update README * Add warnings to logging feature description Notes potential debugging issues and recommends a testing framework when enabling. --------- Co-authored-by: Patrick McCann <patmmccann@gmail.com> Co-authored-by: Patrick McCann <pmccann@cafemedia.com> Co-authored-by: Demetrio Girardi <dgirardi@prebid.org>
39167 of 48187 branches covered (81.28%)
192684 of 200292 relevant lines covered (96.2%)
87.8 hits per line