2018-03-15 20:08:46 +02:00
|
|
|
class BaseService {
|
|
|
|
logger() {
|
|
|
|
if (!BaseService.logger_) throw new Error('BaseService.logger_ not set!!');
|
|
|
|
return BaseService.logger_;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
BaseService.logger_ = null;
|
|
|
|
|
2019-07-29 15:43:53 +02:00
|
|
|
module.exports = BaseService;
|