'use strict';
import { getErrorDto } from '../errors/error-dtos.js';

var __defProp=Object['defineProperty'],__name=(_0x10314b,_0x30702c)=>__defProp(_0x10314b,'name',{'value':_0x30702c,'configurable':!![]});function getLogDto(_0x1a74de,_0x1ce2c6,_0x1c8031,_0x11b0d3){let _0x11cc2f={'severity':_0x1ce2c6,'message':_0x1a74de,'userId':_0x11b0d3};if(_0x1c8031 instanceof Error)_0x11cc2f={'severity':_0x1ce2c6,'message':_0x1a74de,'errorMessage':_0x1c8031?.['message'],'userId':_0x11b0d3,'stackTrace':_0x1c8031?.['stack'],'error':_0x1c8031&&getErrorDto(_0x1c8031)};return _0x11cc2f;}__name(getLogDto,'getLogDto');

export { getLogDto };
