1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.logging.log4j.message;
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40 public final class SimpleMessageFactory extends AbstractMessageFactory {
41
42
43
44
45 public static final SimpleMessageFactory INSTANCE = new SimpleMessageFactory();
46 private static final long serialVersionUID = 4418995198790088516L;
47
48
49
50
51
52
53
54
55
56
57
58
59 @Override
60 public Message newMessage(final String message, final Object... params) {
61 return new SimpleMessage(message);
62 }
63
64
65
66
67 @Override
68 public Message newMessage(final String message, final Object p0) {
69 return new SimpleMessage(message);
70 }
71
72
73
74
75 @Override
76 public Message newMessage(final String message, final Object p0, final Object p1) {
77 return new SimpleMessage(message);
78 }
79
80
81
82
83 @Override
84 public Message newMessage(final String message, final Object p0, final Object p1, final Object p2) {
85 return new SimpleMessage(message);
86 }
87
88
89
90
91 @Override
92 public Message newMessage(final String message, final Object p0, final Object p1, final Object p2, final Object p3) {
93 return new SimpleMessage(message);
94 }
95
96
97
98
99 @Override
100 public Message newMessage(final String message, final Object p0, final Object p1, final Object p2, final Object p3, final Object p4) {
101 return new SimpleMessage(message);
102 }
103
104
105
106
107 @Override
108 public Message newMessage(final String message, final Object p0, final Object p1, final Object p2, final Object p3, final Object p4, final Object p5) {
109 return new SimpleMessage(message);
110 }
111
112
113
114
115 @Override
116 public Message newMessage(final String message, final Object p0, final Object p1, final Object p2, final Object p3, final Object p4, final Object p5,
117 final Object p6) {
118 return new SimpleMessage(message);
119 }
120
121
122
123
124 @Override
125 public Message newMessage(final String message, final Object p0, final Object p1, final Object p2, final Object p3, final Object p4, final Object p5,
126 final Object p6, final Object p7) {
127 return new SimpleMessage(message);
128 }
129
130
131
132
133 @Override
134 public Message newMessage(final String message, final Object p0, final Object p1, final Object p2, final Object p3, final Object p4, final Object p5,
135 final Object p6, final Object p7, final Object p8) {
136 return new SimpleMessage(message);
137 }
138
139
140
141
142 @Override
143 public Message newMessage(final String message, final Object p0, final Object p1, final Object p2, final Object p3, final Object p4, final Object p5,
144 final Object p6, final Object p7, final Object p8, final Object p9) {
145 return new SimpleMessage(message);
146 }
147 }