mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 23:02:25 -05:00 
			
		
		
		
	[chore] Update a bunch of database dependencies (#1772)
* [chore] Update a bunch of database dependencies * fix lil thing
This commit is contained in:
		
					parent
					
						
							
								66df974143
							
						
					
				
			
			
				commit
				
					
						ec325fee14
					
				
			
		
					 402 changed files with 35068 additions and 35401 deletions
				
			
		
							
								
								
									
										12
									
								
								vendor/google.golang.org/grpc/internal/grpclog/prefixLogger.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								vendor/google.golang.org/grpc/internal/grpclog/prefixLogger.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -63,6 +63,9 @@ func (pl *PrefixLogger) Errorf(format string, args ...interface{}) { | |||
| 
 | ||||
| // Debugf does info logging at verbose level 2. | ||||
| func (pl *PrefixLogger) Debugf(format string, args ...interface{}) { | ||||
| 	// TODO(6044): Refactor interfaces LoggerV2 and DepthLogger, and maybe | ||||
| 	// rewrite PrefixLogger a little to ensure that we don't use the global | ||||
| 	// `Logger` here, and instead use the `logger` field. | ||||
| 	if !Logger.V(2) { | ||||
| 		return | ||||
| 	} | ||||
|  | @ -73,6 +76,15 @@ func (pl *PrefixLogger) Debugf(format string, args ...interface{}) { | |||
| 		return | ||||
| 	} | ||||
| 	InfoDepth(1, fmt.Sprintf(format, args...)) | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
| // V reports whether verbosity level l is at least the requested verbose level. | ||||
| func (pl *PrefixLogger) V(l int) bool { | ||||
| 	// TODO(6044): Refactor interfaces LoggerV2 and DepthLogger, and maybe | ||||
| 	// rewrite PrefixLogger a little to ensure that we don't use the global | ||||
| 	// `Logger` here, and instead use the `logger` field. | ||||
| 	return Logger.V(l) | ||||
| } | ||||
| 
 | ||||
| // NewPrefixLogger creates a prefix logger with the given prefix. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue