function logInternal(severity, content, stack, category) {
    const config = LOGGER_CONFIG_MAP[category || ''] || LOGGER_CONFIG_MAP[''];
    if (SEVERITY_VALUE[severity] < SEVERITY_VALUE[config.minimalSeverity]) {
        return;
    }
    if (config.logDateTime) {
        content = `${new Date().toISOString()}|${content}`;
    }
    if (config.logSourceLocation) {
        // TODO: calculate source location from 'stack'
    }
    LOGGER_PROVIDER_MAP[config.provider].log(severity, content, category);
}
// order is different from a usual logging API.
order is different from a usual logging API.
order is different from a usual logging API .
function logInternal(severity, content, stack, category) {
    const config = LOGGER_CONFIG_MAP[category || ''] || LOGGER_CONFIG_MAP[''];
    if (SEVERITY_VALUE[severity] < SEVERITY_VALUE[config.minimalSeverity]) {
        return;
    }
    if (config.logDateTime) {
        content = `${new Date().toISOString()}|${content}`;
    }
    if (config.logSourceLocation) {
    }
    LOGGER_PROVIDER_MAP[config.provider].log(severity, content, category);
}
function logInternal ( severity , content , stack , category ) { const config = LOGGER_CONFIG_MAP [ category || '' ] || LOGGER_CONFIG_MAP [ '' ] ; if ( SEVERITY_VALUE [ severity ] < SEVERITY_VALUE [ config . minimalSeverity ] ) { return ; } if ( config . logDateTime ) { content = ` ${ new Date ( ) . toISOString ( ) } ${ content } ` ; } if ( config . logSourceLocation ) { } LOGGER_PROVIDER_MAP [ config . provider ] . log ( severity , content , category ) ; }
order is different from a usual logging API.
order is different from a usual logging API .
// TODO: calculate source location from 'stack'