Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NewLogger (0.15 sec)

  1. logger/logger.go

    	Config
    	infoStr, warnStr, errStr            string
    	traceStr, traceErrStr, traceWarnStr string
    }
    
    // LogMode log mode
    func (l *logger) LogMode(level LogLevel) Interface {
    	newlogger := *l
    	newlogger.LogLevel = level
    	return &newlogger
    }
    
    // Info print info
    func (l *logger) Info(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Info {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Nov 07 02:19:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. finisher_api.go

    	}
    	return rows, tx.Error
    }
    
    // Scan scans selected value to the struct dest
    func (db *DB) Scan(dest interface{}) (tx *DB) {
    	config := *db.Config
    	currentLogger, newLogger := config.Logger, logger.Recorder.New()
    	config.Logger = newLogger
    
    	tx = db.getInstance()
    	tx.Config = &config
    
    	if rows, err := tx.Rows(); err == nil {
    		if rows.Next() {
    			tx.ScanRows(rows, dest)
    		} else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. api/go1.14.txt

    pkg log/syslog (freebsd-arm64), func Dial(string, string, Priority, string) (*Writer, error)
    pkg log/syslog (freebsd-arm64), func New(Priority, string) (*Writer, error)
    pkg log/syslog (freebsd-arm64), func NewLogger(Priority, int) (*log.Logger, error)
    pkg log/syslog (freebsd-arm64), method (*Writer) Alert(string) error
    pkg log/syslog (freebsd-arm64), method (*Writer) Close() error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  4. api/go1.16.txt

    pkg log/syslog (darwin-arm64), func Dial(string, string, Priority, string) (*Writer, error)
    pkg log/syslog (darwin-arm64), func New(Priority, string) (*Writer, error)
    pkg log/syslog (darwin-arm64), func NewLogger(Priority, int) (*log.Logger, error)
    pkg log/syslog (darwin-arm64), method (*Writer) Alert(string) error
    pkg log/syslog (darwin-arm64), method (*Writer) Close() error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  5. api/go1.20.txt

    pkg log/syslog (freebsd-riscv64), func Dial(string, string, Priority, string) (*Writer, error) #53466
    pkg log/syslog (freebsd-riscv64), func New(Priority, string) (*Writer, error) #53466
    pkg log/syslog (freebsd-riscv64), func NewLogger(Priority, int) (*log.Logger, error) #53466
    pkg log/syslog (freebsd-riscv64), method (*Writer) Alert(string) error #53466
    pkg log/syslog (freebsd-riscv64), method (*Writer) Close() error #53466
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
Back to top