logtail: delete AppendTextOrJSONLocked

This was accidentally added in #11671 for testing.
Nothing uses it.

Updates tailscale/corp#21363

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
This commit is contained in:
Joe Tsai
2025-09-23 11:41:29 -07:00
committed by Brad Fitzpatrick
parent dd615c8fdd
commit f19409482d

View File

@@ -708,11 +708,6 @@ func appendTruncatedString(dst, src []byte, n int) []byte {
return dst
}
func (l *Logger) AppendTextOrJSONLocked(dst, src []byte) []byte {
l.clock = tstime.StdClock{}
return l.appendTextOrJSONLocked(dst, src, 0)
}
// appendTextOrJSONLocked appends a raw text message or a raw JSON object
// in the Tailscale JSON log format.
func (l *Logger) appendTextOrJSONLocked(dst, src []byte, level int) []byte {