1
2
3
4
5
6
7
8
9
10
11 package psiprobe.tools.logging;
12
13 import java.io.File;
14
15
16
17
18 public class FileLogAccessor extends AbstractLogDestination {
19
20
21 private String name;
22
23
24 private File file;
25
26 @Override
27 public String getName() {
28 return name;
29 }
30
31
32
33
34
35
36 public void setName(String name) {
37 this.name = name;
38 }
39
40 @Override
41 public String getTargetClass() {
42 return "stdout";
43 }
44
45 @Override
46 public String getLogType() {
47 return "stdout";
48 }
49
50 @Override
51 public String getConversionPattern() {
52 return "";
53 }
54
55 @Override
56 public File getFile() {
57 return file;
58 }
59
60
61
62
63
64
65 public void setFile(File file) {
66 this.file = file;
67 }
68
69 }