1 /* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 package ohos.devtools.views.trace.bean; 17 18 import ohos.devtools.views.trace.DField; 19 20 /** 21 * log data 22 * 23 * @since 2021/04/22 12:25 24 */ 25 public class TraceLog { 26 @DField(name = "seq") 27 private Integer seq; 28 @DField(name = "startTime") 29 private Long startTime; 30 @DField(name = "pid") 31 private Integer pid; 32 @DField(name = "tid") 33 private Integer tid; 34 @DField(name = "level") 35 private String level; 36 @DField(name = "tag") 37 private String tag; 38 @DField(name = "context") 39 private String context; 40 @DField(name = "origints") 41 private Long origints; 42 getStartTime()43 public Long getStartTime() { 44 return startTime; 45 } 46 setStartTime(Long startTime)47 public void setStartTime(Long startTime) { 48 this.startTime = startTime; 49 } 50 getPid()51 public Integer getPid() { 52 return pid; 53 } 54 setPid(Integer pid)55 public void setPid(Integer pid) { 56 this.pid = pid; 57 } 58 getTid()59 public Integer getTid() { 60 return tid; 61 } 62 setTid(Integer tid)63 public void setTid(Integer tid) { 64 this.tid = tid; 65 } 66 getLevel()67 public String getLevel() { 68 return level; 69 } 70 setLevel(String level)71 public void setLevel(String level) { 72 this.level = level; 73 } 74 getTag()75 public String getTag() { 76 return tag; 77 } 78 setTag(String tag)79 public void setTag(String tag) { 80 this.tag = tag; 81 } 82 getContext()83 public String getContext() { 84 return context; 85 } 86 setContext(String context)87 public void setContext(String context) { 88 this.context = context; 89 } 90 getSeq()91 public Integer getSeq() { 92 return seq; 93 } 94 setSeq(Integer seq)95 public void setSeq(Integer seq) { 96 this.seq = seq; 97 } 98 getOrigints()99 public Long getOrigints() { 100 return origints; 101 } 102 setOrigints(Long origints)103 public void setOrigints(Long origints) { 104 this.origints = origints; 105 } 106 } 107