1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.common.ui.client.logging;
17
18 import java.io.Serializable;
19
20
21
22
23
24
25
26 public class LogMessage implements Serializable {
27 private static final long serialVersionUID = 1L;
28
29 LogLevel logLevel;
30 String message;
31 Throwable error;
32
33 public LogMessage() {
34
35 }
36 public LogMessage(LogLevel level, String message, Throwable error) {
37 this.logLevel = level;
38 this.message = message;
39 this.error = error;
40 }
41
42 public LogLevel getLogLevel() {
43 return logLevel;
44 }
45 public void setLogLevel(LogLevel logLevel) {
46 this.logLevel = logLevel;
47 }
48 public String getMessage() {
49 return message;
50 }
51 public void setMessage(String message) {
52 this.message = message;
53 }
54 public Throwable getError() {
55 return error;
56 }
57 public void setError(Throwable error) {
58 this.error = error;
59 }
60
61 }