mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 05:30:01 +00:00
* introduce extension service * deprecate legacy forwarder types * eliminate repeat algorithm emissions * extend logging to preference management * align forwarder ids with vendor ids * fix duplicate policy emissions; debugging required logger enhancements ----- Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
13 lines
463 B
TypeScript
13 lines
463 B
TypeScript
import { LogService } from "../../platform/abstractions/log.service";
|
|
|
|
// show our GRIT - these functions implement generalized logging
|
|
// controls and should return DISABLED_LOGGER in production.
|
|
export function warnLoggingEnabled(logService: LogService, method: string, context?: any) {
|
|
logService.warning({
|
|
method,
|
|
context,
|
|
provider: "tools/log",
|
|
message: "Semantic logging enabled. 🦟 Please report this bug if you see it 🦟",
|
|
});
|
|
}
|