mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
12 lines
206 B
JavaScript
12 lines
206 B
JavaScript
|
class BaseService {
|
||
|
|
||
|
logger() {
|
||
|
if (!BaseService.logger_) throw new Error('BaseService.logger_ not set!!');
|
||
|
return BaseService.logger_;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
BaseService.logger_ = null;
|
||
|
|
||
|
module.exports = BaseService;
|