initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
23
github/codeql-action-v1/node_modules/@azure/logger/dist-esm/src/log.browser.js
generated
vendored
Normal file
23
github/codeql-action-v1/node_modules/@azure/logger/dist-esm/src/log.browser.js
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT license.
|
||||
export function log(...args) {
|
||||
if (args.length > 0) {
|
||||
const firstArg = String(args[0]);
|
||||
if (firstArg.includes(":error")) {
|
||||
console.error(...args);
|
||||
}
|
||||
else if (firstArg.includes(":warning")) {
|
||||
console.warn(...args);
|
||||
}
|
||||
else if (firstArg.includes(":info")) {
|
||||
console.info(...args);
|
||||
}
|
||||
else if (firstArg.includes(":verbose")) {
|
||||
console.debug(...args);
|
||||
}
|
||||
else {
|
||||
console.debug(...args);
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=log.browser.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue