@sapphire/plugin-logger 1.0.14-pr-97.11c4df4.0 → 2.0.0-next.9f83c09.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/Logger.js +1 -1
- package/dist/lib/Logger.js.map +1 -1
- package/dist/lib/LoggerStyle.js +1 -1
- package/dist/lib/LoggerStyle.js.map +1 -1
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
[](https://codecov.io/gh/sapphiredev/plugins)
|
|
11
11
|
[](https://bundlephobia.com/result?p=@sapphire/plugin-logger)
|
|
12
12
|
[](https://www.npmjs.com/package/@sapphire/plugin-logger)
|
|
13
|
-
[](https://depfu.com/github/sapphiredev/plugins?project_id=15201)
|
|
14
13
|
|
|
15
14
|
</div>
|
|
16
15
|
|
|
@@ -41,10 +40,59 @@ npm install @sapphire/plugin-logger @sapphire/framework
|
|
|
41
40
|
|
|
42
41
|
## Usage
|
|
43
42
|
|
|
43
|
+
This registers the necessary options and methods in the Sapphire client to be able to use the log plugin.
|
|
44
|
+
|
|
44
45
|
```typescript
|
|
46
|
+
// Main bot file
|
|
47
|
+
// Be sure to register the plugin before instantiating the client.
|
|
45
48
|
import '@sapphire/plugin-logger/register';
|
|
46
49
|
```
|
|
47
50
|
|
|
51
|
+
In order to use the Logger in any place other than a piece (commands, arguments, preconditions, etc.), you must first import the `container` property of `@sapphire/framework`. For pieces, you can simply use `this.container.logger` to access Logger methods.
|
|
52
|
+
|
|
53
|
+
```typescript
|
|
54
|
+
import { container } from '@sapphire/framework';
|
|
55
|
+
|
|
56
|
+
export class MyAwesomeService {
|
|
57
|
+
public printAwesomeLog() {
|
|
58
|
+
container.logger.info('log message');
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Here is an example ping command, demonstrating the use of `this.container.logger` from within a piece by omitting the explicit import.
|
|
64
|
+
|
|
65
|
+
```typescript
|
|
66
|
+
// ping command
|
|
67
|
+
|
|
68
|
+
import { Command, CommandOptions, PieceContext } from '@sapphire/framework';
|
|
69
|
+
import type { Message } from 'discord.js';
|
|
70
|
+
|
|
71
|
+
export class PingCommand extends Command {
|
|
72
|
+
public constructor(context: PieceContext, options: CommandOptions) {
|
|
73
|
+
super(context, {
|
|
74
|
+
...options,
|
|
75
|
+
description: 'ping pong'
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public async run(message: Message) {
|
|
80
|
+
this.container.logger.warn('warning message');
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Types of logs
|
|
86
|
+
|
|
87
|
+
1. `trace`
|
|
88
|
+
1. `debug`
|
|
89
|
+
1. `info`
|
|
90
|
+
1. `warn`
|
|
91
|
+
1. `error`
|
|
92
|
+
1. `fatal`
|
|
93
|
+
|
|
94
|
+
> Example: `container.logger.debug('log debug message');`
|
|
95
|
+
|
|
48
96
|
## Logger Documentation
|
|
49
97
|
|
|
50
98
|
For the full @sapphire/plugin-logger documentation please refer to the TypeDoc generated [documentation](https://sapphiredev.github.io/plugins/modules/_sapphire_plugin_logger.html).
|
|
@@ -83,6 +131,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
83
131
|
<td align="center"><a href="https://github.com/Nytelife26"><img src="https://avatars1.githubusercontent.com/u/22531310?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tyler J Russell</b></sub></a><br /><a href="https://github.com/sapphiredev/plugins/commits?author=Nytelife26" title="Code">💻</a></td>
|
|
84
132
|
<td align="center"><a href="https://github.com/Stitch07"><img src="https://avatars.githubusercontent.com/u/29275227?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Stitch07</b></sub></a><br /><a href="https://github.com/sapphiredev/plugins/commits?author=Stitch07" title="Code">💻</a> <a href="https://github.com/sapphiredev/plugins/issues?q=author%3AStitch07" title="Bug reports">🐛</a></td>
|
|
85
133
|
<td align="center"><a href="https://github.com/PlatinBae"><img src="https://avatars.githubusercontent.com/u/50950966?v=4?s=100" width="100px;" alt=""/><br /><sub><b>PlatinBae</b></sub></a><br /><a href="https://github.com/sapphiredev/plugins/commits?author=PlatinBae" title="Documentation">📖</a></td>
|
|
134
|
+
<td align="center"><a href="https://kaname.netlify.app"><img src="https://avatars.githubusercontent.com/u/56084970?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kaname</b></sub></a><br /><a href="https://github.com/sapphiredev/plugins/commits?author=kaname-png" title="Code">💻</a> <a href="https://github.com/sapphiredev/plugins/commits?author=kaname-png" title="Documentation">📖</a></td>
|
|
86
135
|
</tr>
|
|
87
136
|
</table>
|
|
88
137
|
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./lib/Logger"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./lib/LoggerLevel"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./lib/LoggerStyle"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./lib/LoggerTimestamp"), exports);
|
|
4
|
+
(0, tslib_1.__exportStar)(require("./lib/Logger"), exports);
|
|
5
|
+
(0, tslib_1.__exportStar)(require("./lib/LoggerLevel"), exports);
|
|
6
|
+
(0, tslib_1.__exportStar)(require("./lib/LoggerStyle"), exports);
|
|
7
|
+
(0, tslib_1.__exportStar)(require("./lib/LoggerTimestamp"), exports);
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,4DAA6B;AAC7B,iEAAkC;AAClC,iEAAkC;AAClC,qEAAsC"}
|
package/dist/lib/Logger.js
CHANGED
|
@@ -79,7 +79,7 @@ class Logger extends framework_1.Logger {
|
|
|
79
79
|
*/
|
|
80
80
|
preprocess(values) {
|
|
81
81
|
const inspectOptions = { colors: colorette_1.options.enabled, depth: this.depth };
|
|
82
|
-
return values.map((value) => (typeof value === 'string' ? value : util_1.inspect(value, inspectOptions))).join(this.join);
|
|
82
|
+
return values.map((value) => (typeof value === 'string' ? value : (0, util_1.inspect)(value, inspectOptions))).join(this.join);
|
|
83
83
|
}
|
|
84
84
|
get levels() {
|
|
85
85
|
return Reflect.get(framework_1.Logger, 'levels');
|
package/dist/lib/Logger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logger.js","sourceRoot":"","sources":["../../src/lib/Logger.ts"],"names":[],"mappings":";;;AAAA,mDAAoF;AACpF,yCAA+G;AAC/G,qCAAkC;AAClC,+BAA+C;AAC/C,+CAAgE;AAEhE;;;GAGG;AACH,MAAa,MAAO,SAAQ,kBAAa;IAyBxC,YAAmB,UAAyB,EAAE;QAC7C,KAAK,CAAC,OAAO,CAAC,KAAK,iBAAiB,CAAC,CAAC;QAzBvC;;;WAGG;QACH;;;;;WAAiC;QAEjC;;;WAGG;QACH;;;;;WAAoD;QAEpD;;;WAGG;QACH;;;;;WAA6B;QAE7B;;;WAGG;QACH;;;;;WAA8B;QAK7B,IAAI,CAAC,OAAO,GAAG,IAAI,iBAAO,CAAC,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;QAC/F,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,eAAe,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;QAC7E,IAAI,CAAC,IA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,CAAC,KAAK,EAAE,QAAQ,EAAE,eAAG,EAAE,OAAO,CAAC,CAAC;YAClF,iBAAiB,MAAM,CAAC,kBAAkB,CAAC,OAAO,CAAC,KAAK,EAAE,QAAQ,EAAE,iBAAK,EAAE,OAAO,CAAC,CAAC;YACpF,iBAAgB,MAAM,CAAC,kBAAkB,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,EAAE,iBAAK,EAAE,EAAE,CAAC,CAAC;SAC7E,CAAC,CAAC;IACJ,CAAC;IAEO,MAAM,CAAC,kBAAkB,CAAC,OAAuC,EAAE,QAA4B,EAAE,KAAY,EAAE,IAAY;QAClI,IAAI,OAAO;YAAE,OAAO,IAAI,yBAAW,CAAC,OAAO,CAAC,CAAC;QAC7C,OAAO,IAAI,yBAAW,CAAC;YACtB,GAAG,QAAQ;YACX,SAAS,EAAE,QAAQ,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,QAAQ,CAAC,SAAS,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE;YACxF,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE;SAC5D,CAAC,CAAC;IACJ,CAAC;CACD;AApGD,wBAoGC"}
|
package/dist/lib/LoggerStyle.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LoggerStyleBackground = exports.LoggerStyleText = exports.LoggerStyleEffect = exports.LoggerStyle = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const Colorette = tslib_1.__importStar(require("colorette"));
|
|
5
|
+
const Colorette = (0, tslib_1.__importStar)(require("colorette"));
|
|
6
6
|
/**
|
|
7
7
|
* Logger utility that applies a style to a string.
|
|
8
8
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoggerStyle.js","sourceRoot":"","sources":["../../src/lib/LoggerStyle.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"LoggerStyle.js","sourceRoot":"","sources":["../../src/lib/LoggerStyle.ts"],"names":[],"mappings":";;;;AAAA,kEAAuC;AAEvC;;;GAGG;AACH,MAAa,WAAW;IAGvB,YAAmB,aAAoC,EAAE;QAFzD;;;;;WAAuC;QAGtC,IAAI,OAAO,UAAU,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC;SACxB;aAAM;YACN,MAAM,MAAM,GAAsB,EAAE,CAAC;YACrC,IAAI,UAAU,CAAC,OAAO;gBAAE,MAAM,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAC1F,IAAI,UAAU,CAAC,IAAI;gBAAE,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;YAC7D,IAAI,UAAU,CAAC,UAAU;gBAAE,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;YAEzE,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM;gBACzB,CAAC,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC;oBACpB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;oBACX,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;gBAChE,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC;SACnB;IACF,CAAC;IAED;;;;OAIG;IACI,GA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BiB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAiBtC"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/plugin-logger",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-next.9f83c09.0",
|
|
4
4
|
"description": "Plugin for @sapphire/framework to have pretty console output",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"module": "dist/index.mjs",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
|
+
"typedocMain": "src/index.ts",
|
|
10
11
|
"exports": {
|
|
11
12
|
".": {
|
|
12
13
|
"import": "./dist/index.mjs",
|
|
@@ -34,8 +35,8 @@
|
|
|
34
35
|
},
|
|
35
36
|
"dependencies": {
|
|
36
37
|
"@sapphire/time-utilities": "^1.3.8",
|
|
37
|
-
"colorette": "^1.
|
|
38
|
-
"tslib": "^2.3.
|
|
38
|
+
"colorette": "^1.4.0",
|
|
39
|
+
"tslib": "^2.3.1"
|
|
39
40
|
},
|
|
40
41
|
"repository": {
|
|
41
42
|
"type": "git",
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
"register.*"
|
|
49
50
|
],
|
|
50
51
|
"engines": {
|
|
51
|
-
"node": ">=
|
|
52
|
+
"node": ">=v14.18.0",
|
|
52
53
|
"npm": ">=6"
|
|
53
54
|
},
|
|
54
55
|
"keywords": [
|
|
@@ -67,5 +68,5 @@
|
|
|
67
68
|
"publishConfig": {
|
|
68
69
|
"access": "public"
|
|
69
70
|
},
|
|
70
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "9f83c09d73c30d3e89ca2d14e410c39680fe570d"
|
|
71
72
|
}
|