public class Log extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Log.Builder |
| 构造器和说明 |
|---|
Log() |
Log(Log.Builder builder) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAttributes() |
String |
getContent() |
Event |
getEvent() |
String |
getLevel() |
Integer |
getTimestamp() |
String |
getTraceId() |
static Log.Builder |
newBuilder() |
void |
setAttributes(String attributes) |
void |
setContent(String content) |
void |
setEvent(Event event) |
void |
setLevel(String level) |
void |
setTimestamp(Integer timestamp) |
void |
setTraceId(String traceId) |
public Log()
public Log(Log.Builder builder)
public String getContent()
public void setContent(String content)
public String getLevel()
public void setLevel(String level)
public Integer getTimestamp()
public void setTimestamp(Integer timestamp)
public Event getEvent()
public void setEvent(Event event)
public String getTraceId()
public void setTraceId(String traceId)
public String getAttributes()
public void setAttributes(String attributes)
public static Log.Builder newBuilder()
Copyright © 2025. All rights reserved.