remove unused getters
This commit is contained in:
1 parent
c961f5292d
commit
586e79efb2
45 files changed
-262
No files matched your search
@@ -19,7 +19,6 @@ interface LogEntry extends LogConfig {
|
||||
}
|
||||
|
||||
export interface ILogger {
|
||||
readonly serviceName: string;
|
||||
info(config: LogConfig): void;
|
||||
warn(config: LogConfig): void;
|
||||
error(config: LogConfig): void;
|
||||
@@ -97,10 +96,6 @@ class Logger implements ILogger {
|
||||
});
|
||||
}
|
||||
|
||||
get serviceName() {
|
||||
return Logger.SERVICE_NAME;
|
||||
}
|
||||
|
||||
info(config: LogConfig) {
|
||||
const logEntry = this.buildLogEntry("info", config);
|
||||
this.cacheLog(logEntry);
|
||||
|
||||
Reference in new issue
Block a user