void reset ( ) { logger = null ; level = Level . DEBUG ; marker = null ; startTime = - 1L ; startNanos = - 1L ; latency = - 1L ; owner = null ; result = null ; protocol = null ; status = null ; statusDetail = null ; exception = null ; attempt = null ; attemptFinal = null ; vip = null ; endpoint = null ; clientRegion = null ; clientZone = null ; clientApp = null ; clientCluster = null ; clientAsg = null ; clientNode = null ; serverRegion = null ; serverZone = null ; serverApp = null ; serverCluster = null ; serverAsg = null ; serverNode = null ; httpMethod = null ; httpStatus = - 1 ; uri = null ; path = null ; requestHeaders . clear ( ) ; responseHeaders . clear ( ) ; remoteAddress = null ; remotePort = - 1 ; additionalTags . clear ( ) ; builder . delete ( 0 , builder . length ( ) ) ; inflightId = null ; }
Resets this log entry so the instance can be reused . This helps to reduce allocations .