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