Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for errorFmtFunc (0.09 seconds)

  1. internal/logger/console.go

    	if msg == "" {
    		if len(data) > 0 {
    			msg = fmt.Sprint(data...)
    		} else {
    			msg = "a fatal error"
    		}
    	} else {
    		msg = fmt.Sprintf(msg, data...)
    	}
    	consoleLog(fatalMessage, errorFmtFunc(msg, err, jsonFlag))
    }
    
    var fatalMessage fatalMsg
    
    type fatalMsg struct{}
    
    func (f fatalMsg) json(msg string, args ...any) {
    	var message string
    	if msg != "" {
    		message = fmt.Sprintf(msg, args...)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top