CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.14 (changelog, source)
Search

Module Logging

Provides classes for working with logging libraries.

Import path

import semmle.javascript.frameworks.Logging

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Predicates

getAStandardLoggerMethodName

Gets a log level name that is used in RFC5424, npm, console.

Classes

AnsiColorsStep

A step through the ansi-colors library.

AnsiToHtmlStep

A step through the ansi-to-html library.

ChalkStep

A step through the chalk library.

CliColorStep

A step through the cli-color library.

CliHighlightStep

A step through the cli-highlight library.

ColoretteStep

A step through the colorette library.

ColorsStep

A step through the colors library. This step ignores the String.prototype modifying part of the colors library.

KleurStep

A step through the kleur library.

LoggerCall

A call to a logging mechanism.

SliceAnsiStep

A step through the slice-ansi library.

StripAnsiStep

A step through the strip-ansi library.

WrapAnsiStep

A step through the wrap-ansi library.