Skip to content

Commit

Permalink
v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
YashTotale committed Feb 13, 2021
1 parent 18e8d92 commit b30d8c0
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 60 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const logger = new Logger(__dirname + "logs.json");

**Returns:** [_Logger_](https://github.com/YashTotale/logger/tree/main/docs/classes/logger.md)

Defined in: [index.ts:71](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L71)
Defined in: [index.ts:71](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L71)

### Properties

Expand Down Expand Up @@ -91,7 +91,7 @@ console.log(Logger.COLORS.Dim + "Dim log" + Logger.COLORS.Reset);
| `Reverse` | _string_ |
| `Underscore` | _string_ |

Defined in: [index.ts:32](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L32)
Defined in: [index.ts:32](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L32)

### Accessors

Expand All @@ -109,7 +109,7 @@ const logs = logger.logs;

**Returns:** [_Log_](https://github.com/YashTotale/logger/tree/main/docs/interfaces/log.md)[]

Defined in: [index.ts:97](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L97)
Defined in: [index.ts:97](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L97)

---

Expand All @@ -127,7 +127,7 @@ const logsPath = logger.logsPath;

**Returns:** _string_

Defined in: [index.ts:110](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L110)
Defined in: [index.ts:110](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L110)

**logsPath**(`logsPath`: _string_): _void_

Expand All @@ -147,7 +147,7 @@ logger.logsPath = __dirname + "logs.json";

**Returns:** _void_

Defined in: [index.ts:123](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L123)
Defined in: [index.ts:123](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L123)

### Methods

Expand All @@ -171,7 +171,7 @@ await logger.log("hi");

**Returns:** _Promise_<[*Log*](https://github.com/YashTotale/logger/tree/main/docs/interfaces/log.md)\>

Defined in: [index.ts:137](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L137)
Defined in: [index.ts:137](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L137)

**log**(`message`: _any_, `writeToFile`: _true_, `type?`: _success_ \| _info_ \| _error_ \| _warn_, `extra?`: _unknown_): _Promise_<[*Log*](https://github.com/YashTotale/logger/tree/main/docs/interfaces/log.md)\>

Expand Down Expand Up @@ -206,7 +206,7 @@ await logger.log("hi", true, "success", "extra info that is not logged");

**Returns:** _Promise_<[*Log*](https://github.com/YashTotale/logger/tree/main/docs/interfaces/log.md)\>

Defined in: [index.ts:159](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L159)
Defined in: [index.ts:159](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L159)

**log**(`message`: _any_, `writeToFile`: _false_, `type?`: _success_ \| _info_ \| _error_ \| _warn_): [_Log_](https://github.com/YashTotale/logger/tree/main/docs/interfaces/log.md)

Expand Down Expand Up @@ -234,7 +234,7 @@ logger.log("hi", false, "info");

**Returns:** [_Log_](https://github.com/YashTotale/logger/tree/main/docs/interfaces/log.md)

Defined in: [index.ts:181](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L181)
Defined in: [index.ts:181](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L181)

---

Expand Down Expand Up @@ -265,7 +265,7 @@ Logger.bold("BOLD!", "this part is not bold");

**Returns:** _void_

Defined in: [index.ts:298](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L298)
Defined in: [index.ts:298](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L298)

---

Expand Down Expand Up @@ -304,7 +304,7 @@ Logger.coloredLog("FgRed", "error!!!", "", "error");

**Returns:** _void_

Defined in: [index.ts:272](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L272)
Defined in: [index.ts:272](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L272)

---

Expand Down Expand Up @@ -335,7 +335,7 @@ Logger.bold("ERROR!", "this part is not red");

**Returns:** _void_

Defined in: [index.ts:374](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L374)
Defined in: [index.ts:374](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L374)

---

Expand Down Expand Up @@ -366,7 +366,7 @@ Logger.bold("information...", "this part is not blue");

**Returns:** _void_

Defined in: [index.ts:336](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L336)
Defined in: [index.ts:336](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L336)

---

Expand All @@ -384,7 +384,7 @@ Logger.line();

**Returns:** _void_

Defined in: [index.ts:247](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L247)
Defined in: [index.ts:247](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L247)

---

Expand Down Expand Up @@ -415,7 +415,7 @@ Logger.log("hi %s", "Bill");

**Returns:** _void_

Defined in: [index.ts:234](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L234)
Defined in: [index.ts:234](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L234)

---

Expand Down Expand Up @@ -446,7 +446,7 @@ Logger.bold("SUCCESS!", "this part is not green");

**Returns:** _void_

Defined in: [index.ts:317](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L317)
Defined in: [index.ts:317](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L317)

---

Expand Down Expand Up @@ -477,7 +477,7 @@ Logger.bold("WARNING!", "this part is not yellow");

**Returns:** _void_

Defined in: [index.ts:355](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L355)
Defined in: [index.ts:355](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L355)

## Dependents

Expand Down
32 changes: 16 additions & 16 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const logger = new Logger(__dirname + "logs.json");

**Returns:** [_Logger_](https://github.com/YashTotale/logger/tree/main/docs/classes/logger.md)

Defined in: [index.ts:71](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L71)
Defined in: [index.ts:71](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L71)

### Properties

Expand Down Expand Up @@ -93,7 +93,7 @@ console.log(Logger.COLORS.Dim + "Dim log" + Logger.COLORS.Reset);
| `Reverse` | _string_ |
| `Underscore` | _string_ |

Defined in: [index.ts:32](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L32)
Defined in: [index.ts:32](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L32)

### Accessors

Expand All @@ -111,7 +111,7 @@ const logs = logger.logs;

**Returns:** [_Log_](https://github.com/YashTotale/logger/tree/main/docs/interfaces/log.md)[]

Defined in: [index.ts:97](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L97)
Defined in: [index.ts:97](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L97)

---

Expand All @@ -129,7 +129,7 @@ const logsPath = logger.logsPath;

**Returns:** _string_

Defined in: [index.ts:110](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L110)
Defined in: [index.ts:110](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L110)

**logsPath**(`logsPath`: _string_): _void_

Expand All @@ -149,7 +149,7 @@ logger.logsPath = __dirname + "logs.json";

**Returns:** _void_

Defined in: [index.ts:123](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L123)
Defined in: [index.ts:123](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L123)

### Methods

Expand All @@ -173,7 +173,7 @@ await logger.log("hi");

**Returns:** _Promise_<[*Log*](https://github.com/YashTotale/logger/tree/main/docs/interfaces/log.md)\>

Defined in: [index.ts:137](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L137)
Defined in: [index.ts:137](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L137)

**log**(`message`: _any_, `writeToFile`: _true_, `type?`: _success_ \| _info_ \| _error_ \| _warn_, `extra?`: _unknown_): _Promise_<[*Log*](https://github.com/YashTotale/logger/tree/main/docs/interfaces/log.md)\>

Expand Down Expand Up @@ -208,7 +208,7 @@ await logger.log("hi", true, "success", "extra info that is not logged");

**Returns:** _Promise_<[*Log*](https://github.com/YashTotale/logger/tree/main/docs/interfaces/log.md)\>

Defined in: [index.ts:159](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L159)
Defined in: [index.ts:159](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L159)

**log**(`message`: _any_, `writeToFile`: _false_, `type?`: _success_ \| _info_ \| _error_ \| _warn_): [_Log_](https://github.com/YashTotale/logger/tree/main/docs/interfaces/log.md)

Expand Down Expand Up @@ -236,7 +236,7 @@ logger.log("hi", false, "info");

**Returns:** [_Log_](https://github.com/YashTotale/logger/tree/main/docs/interfaces/log.md)

Defined in: [index.ts:181](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L181)
Defined in: [index.ts:181](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L181)

---

Expand Down Expand Up @@ -267,7 +267,7 @@ Logger.bold("BOLD!", "this part is not bold");

**Returns:** _void_

Defined in: [index.ts:298](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L298)
Defined in: [index.ts:298](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L298)

---

Expand Down Expand Up @@ -306,7 +306,7 @@ Logger.coloredLog("FgRed", "error!!!", "", "error");

**Returns:** _void_

Defined in: [index.ts:272](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L272)
Defined in: [index.ts:272](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L272)

---

Expand Down Expand Up @@ -337,7 +337,7 @@ Logger.bold("ERROR!", "this part is not red");

**Returns:** _void_

Defined in: [index.ts:374](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L374)
Defined in: [index.ts:374](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L374)

---

Expand Down Expand Up @@ -368,7 +368,7 @@ Logger.bold("information...", "this part is not blue");

**Returns:** _void_

Defined in: [index.ts:336](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L336)
Defined in: [index.ts:336](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L336)

---

Expand All @@ -386,7 +386,7 @@ Logger.line();

**Returns:** _void_

Defined in: [index.ts:247](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L247)
Defined in: [index.ts:247](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L247)

---

Expand Down Expand Up @@ -417,7 +417,7 @@ Logger.log("hi %s", "Bill");

**Returns:** _void_

Defined in: [index.ts:234](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L234)
Defined in: [index.ts:234](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L234)

---

Expand Down Expand Up @@ -448,7 +448,7 @@ Logger.bold("SUCCESS!", "this part is not green");

**Returns:** _void_

Defined in: [index.ts:317](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L317)
Defined in: [index.ts:317](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L317)

---

Expand Down Expand Up @@ -479,7 +479,7 @@ Logger.bold("WARNING!", "this part is not yellow");

**Returns:** _void_

Defined in: [index.ts:355](https://github.com/YashTotale/logger/blob/8fb0c72/src/index.ts##L355)
Defined in: [index.ts:355](https://github.com/YashTotale/logger/blob/18e8d92/src/index.ts##L355)

## Dependents

Expand Down
Loading

0 comments on commit b30d8c0

Please sign in to comment.