-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.config
More file actions
62 lines (53 loc) · 2.21 KB
/
App.config
File metadata and controls
62 lines (53 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- Usage:
Default launch of monitor:
LogMonitor.exe
Launch and run monitoring for first saved log:
LogMonitor.exe -run
Launch and run monitoring for file c:\Your app\app.log:
LogMonitor.exe -run c:\YourApp\app.log
Launch and run monitoring for file c:\Your app\app.log using certain mapping:
LogMonitor.exe -run "c:\Your app\app.log" -mapping=yourapp
Launch with checked levels and highlighted lines:
LogMonitor.exe -levels=Debug,Error,Fatal -highligh=1
Launch with localization language:
LogMonitor.exe -lang=en
-->
<configSections>
<section name="MonitorSection" type="LogMonitor.Configuration.MonitorSection, LogMonitor"/>
</configSections>
<MonitorSection>
<SavedLogs>
<add log="C:\Projects\LogMonitor\bin\Debug\LogMonitor.log" autostart="true"/>
</SavedLogs>
<!-- Window config
Monitor: Number of startup monitor (>=1). Defaults to zero (window shows at monitor where mouse point shown)
Position types: Center, Top, Bottom. Default: Center
-->
<Window width="1440" height="350" monitor="2" position="Bottom"/>
<LevelColors>
<add level="Debug" color="Transparent"/> <!-- or #00FFFFFF -->
<add level="Info" color="GreenYellow"/>
<add level="Warn" color="DarkOrange"/>
<add level="Error" color="Red"/>
<add level="Fatal" color="BlueViolet"/>
</LevelColors>
<!-- Column types: Text, Time, Level, Message, Skip. Default: Text -->
<ColumnMapping name="default" separator="|" default="true">
<columns>
<Column header="Time" type="Time"/>
<Column header="Level" type="Level"/>
<Column header="Cite" path="Cite"/>
<Column header="Message" type="Message"/>
</columns>
</ColumnMapping>
<ColumnMapping name="wix" pattern="MSI \(c\) \((.*?)\) \[(.*?)\]: (.*)$">
<columns>
<Column header="Code"/>
<Column header="time" type="Time"/>
<Column header="Message" type="Message"/>
</columns>
</ColumnMapping>
</MonitorSection>
</configuration>