github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/logger/formats_windows.go (about)

     1  // Copyright 2015 Keybase, Inc. All rights reserved. Use of
     2  // this source code is governed by the included BSD license.
     3  
     4  //go:build windows
     5  // +build windows
     6  
     7  package logger
     8  
     9  // These had a weird unicode character which made it look messy on Windows
    10  
    11  const (
    12  	fancyFormat   = "%{color}%{time:2006-01-02T15:04:05.000000Z07:00} - [%{level:.4s} %{module} %{shortfile}] %{id:03x}%{color:reset} %{message}"
    13  	plainFormat   = "[%{level:.4s}] %{id:03x} %{message}"
    14  	fileFormat    = "%{time:2006-01-02T15:04:05.000000Z07:00} - [%{level:.4s} %{module} %{shortfile}] %{id:03x} %{message}"
    15  	defaultFormat = "%{color}- %{level} %{message}%{color:reset}"
    16  )