Logs » History » Version 4
Per Amundsen, 05/24/2018 10:16 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 3 | Per Amundsen | */logs [-defrxgc] [directory] [filename] [text]* |
4 | 1 | Per Amundsen | |
5 | Opens logfolder interface and does a optional custom search. |
||
6 | |||
7 | 4 | Per Amundsen | [[Scripting_Wildcards|Wildcards]] can be used for all parts. |
8 | 1 | Per Amundsen | |
9 | *Switches* |
||
10 | |||
11 | -d - Indicates directory is defined. |
||
12 | -e - Exclude sub directories in the search. |
||
13 | -f - Indicates filename is defined. |
||
14 | 4 | Per Amundsen | -r - Indicates text is a [[Scripting_Regex|regular expression]] instead of a [[Scripting_Wildcards|wildcard]]. |
15 | 3 | Per Amundsen | -x - Use exact text match. |
16 | 4 | Per Amundsen | -g - Indicates filename is a [[Scripting_Regex|regular expression]] instead of a [[Scripting_Wildcards|wildcard]]. |
17 | 3 | Per Amundsen | -c - Use exact filename match. |
18 | 1 | Per Amundsen | |
19 | *Parameters* |
||
20 | |||
21 | [directory] - Log directory to search, used with -d. |
||
22 | [filename] - Filename to search, used with -f. |
||
23 | [text] - Log text to search. |
||
24 | |||
25 | *Êxample* |
||
26 | |||
27 | <pre> |
||
28 | 2 | Per Amundsen | ; Open log folder with default log folder listing. |
29 | 1 | Per Amundsen | /logs |
30 | |||
31 | 2 | Per Amundsen | ; Open log folder with custom folder and a regular expression matching all lines containing Hello. |
32 | 1 | Per Amundsen | /logs -dr "c:\logs folder" .*Hello.* |
33 | |||
34 | </pre> |