A general-purpose single-header C logging library and parser for event-based logs. (Incomplete)
| {#} | Time | Hash | Subject | Author | # | (+) | (-) | GPG? |
|---|---|---|---|---|---|---|---|---|
| 16 | 25 Dec 2018 21:14 | 23d6cc0 | Update statement.js | Joshua | 1 | 4 | 14 | N |
| 1 | class Statement { |
| 2 | constructor(verbosity, tag, message) { |
| 3 | this.timestamp = new Date(); |
| 4 | this.verbosity = (verbosity != null && typeof verbosity == "string") ? verbosity : "INFO"; |
| 5 | this.tag = (tag != null && typeof tag == "string") ? tag : "TAG"; |
| 6 | this.message = (message != null && typeof verbosity == "string") ? message : ""; |
| 7 | return this; |
| 8 | } |
| 9 | } |
| 10 | |
| 11 | module.exports = Statement; |
| 12 |