1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.util;
17
18 public class LogMsg {
19
20 LoggerLevel level = LoggerLevel.INFO;
21 String message;
22 Object[] args;
23
24 public LogMsg() {
25 this(null, null, LoggerLevel.INFO);
26 }
27
28 public LogMsg(String message, Object[] args) {
29 this(message, args, LoggerLevel.INFO);
30 }
31
32 public LogMsg(String message, Object[] args, LoggerLevel level) {
33 super();
34 this.message = message;
35 this.args = args;
36 this.level = level;
37 }
38
39 public String getMessage() {
40 return message;
41 }
42
43 public void setMessage(String message) {
44 this.message = message;
45 }
46
47 public Object[] getArgs() {
48 return args;
49 }
50
51 public void setArgs(Object[] args) {
52 this.args = args;
53 }
54
55 public LoggerLevel getLevel() {
56 return level;
57 }
58
59 public void setLevel(LoggerLevel level) {
60 this.level = level;
61 }
62
63 }