"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const strict_1 = __importDefault(require("node:assert/strict"));
const node_test_1 = __importDefault(require("node:test"));
const logging_1 = require("../src/server/logging");
(0, node_test_1.default)('structured log file path is disabled without an explicit directory', () => {
    strict_1.default.equal((0, logging_1.resolveStructuredLogFilePath)('api-server', {}), null);
});
(0, node_test_1.default)('structured log file path resolves to a per-service jsonl file', () => {
    const filePath = (0, logging_1.resolveStructuredLogFilePath)('api-server', {
        PLAYDROP_STRUCTURED_LOG_DIR: '/var/log/playdrop',
    });
    strict_1.default.equal(filePath, '/var/log/playdrop/api-server.jsonl');
});
