Initialisation

Added the packages and files for the backend server
This commit is contained in:
jackbeeby
2024-12-15 17:48:45 +11:00
parent 25066e1ee8
commit b412dfe2ca
2732 changed files with 330572 additions and 0 deletions

36
node_modules/@apollo/utils.logger/README.md generated vendored Normal file
View File

@@ -0,0 +1,36 @@
# Logger interface
> ```
> interface Logger {
> debug(message?: any): void;
> info(message?: any): void;
> warn(message?: any): void;
> error(message?: any): void;
> }
> ```
This generic interface for loggers supports logging a string at one of four different levels (`debug`, `info`, `warn`, `error`). It's designed to be compatible with Node's `console` as well as commonly used logging packages and is tested against a few of them. Below are the logging libraries we test for compatibility against.
## bunyan
```
const logger = bunyan.createLogger();
```
## log4js
```
const logger = log4js.getLogger();
```
## loglevel
```
const logger = loglevel.getLogger();
```
## winston
```
const logger = winston.createLogger();
```