github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/logger/formats_nix.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 const ( 10 fancyFormat = "%{color}%{time:2006-01-02T15:04:05.000000Z07:00} ▶ [%{level:.4s} %{module} %{shortfile}] %{id:03x}%{color:reset} %{message}" 11 plainFormat = "[%{level:.4s}] %{id:03x} %{message}" 12 fileFormat = "%{time:2006-01-02T15:04:05.000000Z07:00} ▶ [%{level:.4s} %{module} %{shortfile}] %{id:03x} %{message}" 13 defaultFormat = "%{color}▶ %{level} %{message}%{color:reset}" 14 )