We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 388cec6 commit fafc976Copy full SHA for fafc976
1 file changed
go/ql/lib/semmle/go/frameworks/Glog.qll
@@ -12,6 +12,7 @@ import go
12
* forks.
13
*/
14
module Glog {
15
+ /** Gets a package name for `glog` or `klog` (which is a fork). */
16
string packagePath() {
17
result =
18
package([
@@ -55,6 +56,7 @@ module Glog {
55
56
57
int getFirstPrintedArg() { result = firstPrintedArg }
58
59
+ /** Holds if this function takes a format string. */
60
predicate formatter() { format = "f" }
61
62
override predicate mayReturnNormally() { level != "Fatal" and level != "Exit" }
0 commit comments