-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathactions.ts
25 lines (25 loc) · 1.35 KB
/
actions.ts
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
export enum Action {
/**
* `Then I append the string 'log' to the logfile in 'logPath'`<br><br>
* Append the string *log* to the logfile in the *logPath* under the *LOGGER_DIR* directory
* @param {string} log - The name of the variable that contains the log string
* or the log string itself
* @param {string} logPath - Path to the log file
*/
APPEND = "append the string {} to the logfile in {}",
/**
* `Then I append the string 'log' to the logfile named by 'logName'`<br><br>
* Append the string *log* to the logfile in the variable *logName* under the *LOGGER_DIR* directory
* @param {string} log - The name of the variable that contains the log string
* or the log string itself
* @param {string} logName - Name of the variable the contains the path to log file
*/
APPEND_NAMED = "append the string {} to the logfile named by {}",
/**
* `Then I append the array of strings 'logArray' to the logfile named by 'logName'`<br><br>
* Append the array of strings *logArray* to the logfile in the variable *logName* under the *LOGGER_DIR* directory
* @param {string} logArray - The name of the variable that contains the array of log strings
* @param {string} logName - Name of the variable the contains the path to log file
*/
APPEND_ARRAY = "append the array of strings {} to the logfile named by {}"
}