mirror of
				https://github.com/taigrr/go-fastping
				synced 2025-01-18 05:03:15 -08:00 
			
		
		
		
	Remove debug logging
Importing this package should not change the behavior of the log package. Closes #1.
This commit is contained in:
		
							parent
							
								
									94491434bc
								
							
						
					
					
						commit
						e7d04da2f8
					
				| @ -44,11 +44,6 @@ import ( | |||||||
| 	"time" | 	"time" | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| func init() { |  | ||||||
| 	log.SetFlags(log.Lmicroseconds) |  | ||||||
| 	log.SetPrefix("Debug: ") |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| func timeToBytes(t time.Time) []byte { | func timeToBytes(t time.Time) []byte { | ||||||
| 	nsec := t.UnixNano() | 	nsec := t.UnixNano() | ||||||
| 	b := make([]byte, 8) | 	b := make([]byte, 8) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user