You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tdlog.go
    path of file: ./repos/tiedot/tdlog
    
    the code of the file until where you have to start completion: package tdlog

import (
	"fmt"
	"log"
	"sync"
)

// Controls whether INFO log messages are generated
var VerboseLog = false

// const limit crit message
const limitCritHistory = 100

// LVL 6
func Infof(template str
    
func CritNoRepeat(template string, params ...interface{}) {
	msg := fmt.Sprintf(template, params...)
	critLock.Lock()
	if _, exists := critHistory[msg]; !exists {
		log.Print(msg)
		critHistory[msg] = struct{}{}
	}
	if len(critHistory) > limitCritHistory {
		critHistory = make(map[string]struct{})
	}
	critLock.Unlock()
}