
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
import { localize } from '../../../nls.js';
import { ILoggerService } from '../../../platform/log/common/log.service.js';
import { LogService } from '../../../platform/log/common/logService.js';
import { IExtHostInitDataService } from './extHostInitDataService.js';

let ExtHostLogService = class ExtHostLogService extends LogService {
    constructor(isWorker, loggerService, initData) {
        const id = initData.remote.isRemote ? "remoteexthost" : isWorker ? "workerexthost" : "exthost";
        const name = initData.remote.isRemote ? ( localize(2752, "Extension Host (Remote)")) : isWorker ? ( localize(2753, "Extension Host (Worker)")) : ( localize(2754, "Extension Host"));
        super(loggerService.createLogger(id, {
            name
        }));
    }
};
ExtHostLogService = ( __decorate([( __param(1, ILoggerService)), ( __param(2, IExtHostInitDataService))], ExtHostLogService));

export { ExtHostLogService };
