mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Signed-off-by: Nicola Scattaglia <scattaglia.nicola.work@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 Lauris BH
						Lauris BH
					
				
			
			
				
	
			
			
			
						parent
						
							d29d97d91c
						
					
				
				
					commit
					cde6079879
				
			| @@ -16,6 +16,7 @@ import ( | ||||
| 	"os/exec" | ||||
| 	"path" | ||||
| 	"path/filepath" | ||||
| 	"runtime" | ||||
| 	"strconv" | ||||
| 	"strings" | ||||
| 	"time" | ||||
| @@ -407,6 +408,7 @@ func getWorkPath(appPath string) string { | ||||
| } | ||||
|  | ||||
| func init() { | ||||
| 	IsWindows = runtime.GOOS == "windows" | ||||
| 	// We can rely on log.CanColorStdout being set properly because modules/log/console_windows.go comes before modules/setting/setting.go lexicographically | ||||
| 	log.NewLogger(0, "console", "console", fmt.Sprintf(`{"level": "trace", "colorize": %t, "stacktraceLevel": "none"}`, log.CanColorStdout)) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user