mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

The previous package was outdated, preventing us from updating TS. This one also lints YAML and JSON, and applies many more rules to the test files, explaining all the changes in this PR.
12 lines
205 B
TypeScript
12 lines
205 B
TypeScript
import { BaseLogger } from './Logger';
|
|
|
|
/**
|
|
* A logger that does nothing on a log message.
|
|
*/
|
|
export class VoidLogger extends BaseLogger {
|
|
public log(): this {
|
|
// Do nothing
|
|
return this;
|
|
}
|
|
}
|