1 line
8.7 KiB
JSON
1 line
8.7 KiB
JSON
{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_py", "label": "logging.py", "file_type": "code", "source_file": "app/core/logging.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_add_correlation_id", "label": "_add_correlation_id()", "file_type": "code", "source_file": "app/core/logging.py", "source_location": "L19", "_callable": true}, {"id": "wrappedlogger", "label": "WrappedLogger", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/core/logging.py"}, {"id": "eventdict", "label": "EventDict", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/core/logging.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "label": "configure_logging()", "file_type": "code", "source_file": "app/core/logging.py", "source_location": "L26", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_get_logger", "label": "get_logger()", "file_type": "code", "source_file": "app/core/logging.py", "source_location": "L49", "_callable": true}, {"id": "filteringboundlogger", "label": "FilteringBoundLogger", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/core/logging.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_rationale_1", "label": "Structured logging via structlog. Emits key=value (dev) or JSON (prod) with a p", "file_type": "rationale", "source_file": "app/core/logging.py", "source_location": "L1"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_py", "target": "logging", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L7", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_py", "target": "contextvars", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L8", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L9", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_py", "target": "structlog", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L11", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_py", "target": "structlog_typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L12", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_add_correlation_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L19", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_add_correlation_id", "target": "wrappedlogger", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L19", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_add_correlation_id", "target": "eventdict", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L19", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_add_correlation_id", "target": "eventdict", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L19", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L26", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_get_logger", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L49", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_get_logger", "target": "filteringboundlogger", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L49", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "target": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_add_correlation_id", "relation": "indirect_call", "context": "collection", "confidence": "INFERRED", "source_file": "app/core/logging.py", "source_location": "L29", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/core/logging.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_add_correlation_id", "callee": "get", "is_member_call": true, "source_file": "app/core/logging.py", "source_location": "L20", "receiver": "correlation_id"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "callee": "TimeStamper", "is_member_call": true, "source_file": "app/core/logging.py", "source_location": "L31", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "callee": "StackInfoRenderer", "is_member_call": true, "source_file": "app/core/logging.py", "source_location": "L32", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "callee": "JSONRenderer", "is_member_call": true, "source_file": "app/core/logging.py", "source_location": "L36", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "callee": "ConsoleRenderer", "is_member_call": true, "source_file": "app/core/logging.py", "source_location": "L36", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "callee": "configure", "is_member_call": true, "source_file": "app/core/logging.py", "source_location": "L39", "receiver": "structlog"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "callee": "make_filtering_bound_logger", "is_member_call": true, "source_file": "app/core/logging.py", "source_location": "L41", "receiver": "structlog"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "callee": "getLevelName", "is_member_call": true, "source_file": "app/core/logging.py", "source_location": "L41", "receiver": "logging"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "callee": "upper", "is_member_call": true, "source_file": "app/core/logging.py", "source_location": "L41", "receiver": "level"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "callee": "PrintLoggerFactory", "is_member_call": true, "source_file": "app/core/logging.py", "source_location": "L42", "receiver": "structlog"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "callee": "basicConfig", "is_member_call": true, "source_file": "app/core/logging.py", "source_location": "L46", "receiver": "logging"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_configure_logging", "callee": "upper", "is_member_call": true, "source_file": "app/core/logging.py", "source_location": "L46", "receiver": "level"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_get_logger", "callee": "cast", "is_member_call": false, "source_file": "app/core/logging.py", "source_location": "L50", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_core_logging_get_logger", "callee": "FilteringBoundLogger", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/core/logging.py", "source_location": "L50"}]} |