Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NewLogger (0.13 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.2.txt

    pkg log/syslog (freebsd-386-cgo), func Dial(string, string, Priority, string) (*Writer, error)
    pkg log/syslog (freebsd-386-cgo), func New(Priority, string) (*Writer, error)
    pkg log/syslog (freebsd-386-cgo), func NewLogger(Priority, int) (*log.Logger, error)
    pkg log/syslog (freebsd-386-cgo), method (*Writer) Alert(string) error
    pkg log/syslog (freebsd-386-cgo), method (*Writer) Close() error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  4. api/go1.txt

    pkg log/syslog (darwin-386), func Dial(string, string, Priority, string) (*Writer, error)
    pkg log/syslog (darwin-386), func New(Priority, string) (*Writer, error)
    pkg log/syslog (darwin-386), func NewLogger(Priority, int) (*log.Logger, error)
    pkg log/syslog (darwin-386), method (*Writer) Alert(string) error
    pkg log/syslog (darwin-386), method (*Writer) Close() error
    pkg log/syslog (darwin-386), method (*Writer) Crit(string) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  5. api/go1.13.txt

    pkg log/syslog (netbsd-arm64-cgo), const LOG_WARNING Priority
    pkg log/syslog (netbsd-arm64-cgo), func Dial(string, string, Priority, string) (*Writer, error)
    pkg log/syslog (netbsd-arm64-cgo), func NewLogger(Priority, int) (*log.Logger, error)
    pkg log/syslog (netbsd-arm64-cgo), func New(Priority, string) (*Writer, error)
    pkg log/syslog (netbsd-arm64-cgo), method (*Writer) Alert(string) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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