1
2
3
4
5
6
7
8
9
10
11
12
13
14 package ch.qos.logback.access.common.net;
15
16 import ch.qos.logback.access.common.spi.IAccessEvent;
17 import ch.qos.logback.core.net.AbstractSSLSocketAppender;
18 import ch.qos.logback.core.spi.PreSerializationTransformer;
19
20
21
22
23
24
25
26
27
28 public class SSLSocketAppender extends AbstractSSLSocketAppender<IAccessEvent> {
29
30 private final PreSerializationTransformer<IAccessEvent> pst = new AccessEventPreSerializationTransformer();
31
32 public SSLSocketAppender() {
33 }
34
35 @Override
36 protected void postProcessEvent(IAccessEvent event) {
37 event.prepareForDeferredProcessing();
38 }
39
40 public PreSerializationTransformer<IAccessEvent> getPST() {
41 return pst;
42 }
43
44 }