Skip to content

Commit fafc976

Browse files
owen-mcyoff
authored andcommitted
Add missing QLDocs
1 parent 388cec6 commit fafc976

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

go/ql/lib/semmle/go/frameworks/Glog.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import go
1212
* forks.
1313
*/
1414
module Glog {
15+
/** Gets a package name for `glog` or `klog` (which is a fork). */
1516
string packagePath() {
1617
result =
1718
package([
@@ -55,6 +56,7 @@ module Glog {
5556
*/
5657
int getFirstPrintedArg() { result = firstPrintedArg }
5758

59+
/** Holds if this function takes a format string. */
5860
predicate formatter() { format = "f" }
5961

6062
override predicate mayReturnNormally() { level != "Fatal" and level != "Exit" }

0 commit comments

Comments
 (0)