Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ set(PROFILER_CORE_SOURCES
set(PROFILER_CORE_HEADERS
include/profiler_manager.h
include/profiler/log_sink.h
include/profiler/logger.h
include/profiler/http_handlers.h
)

Expand Down Expand Up @@ -286,7 +285,6 @@ if(REMOTE_PROFILER_INSTALL)
# Install profiler subdirectory headers
install(FILES
include/profiler/log_sink.h
include/profiler/logger.h
include/profiler/http_handlers.h
DESTINATION include/cpp-remote-profiler/profiler
)
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,7 @@ cpp-remote-profiler/
│ └── profiler/
│ ├── http_handlers.h # 框架无关的 HTTP 处理器
│ ├── drogon_adapter.h # Drogon 适配层(可选)
│ ├── log_sink.h # 日志 Sink 接口
│ └── logger.h # 日志配置接口
│ └── log_sink.h # 日志 Sink 接口
├── src/
│ ├── profiler_manager.cpp # Profiler 管理器实现
│ ├── symbolize.cpp # 符号化引擎
Expand Down
1 change: 0 additions & 1 deletion docs/user_guide/06_using_find_package.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ sudo make install DESTDIR=/opt/cpp-remote-profiler
│ ├── drogon_adapter.h
│ ├── http_handlers.h
│ ├── log_sink.h
│ └── logger.h
└── version.h
```

Expand Down
18 changes: 0 additions & 18 deletions include/profiler/logger.h

This file was deleted.

3 changes: 1 addition & 2 deletions plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ profiler.setLogLevel(profiler::LogLevel::Debug);
#### 文件结构
```
include/profiler/
├── log_sink.h # LogSink 接口 + LogLevel 枚举
└── logger.h # 仅 log 宏声明(日志配置移到 ProfilerManager 实例方法)
└── log_sink.h # LogSink 接口 + LogLevel 枚举

src/internal/
├── log_manager.h # 内部状态管理(非单例,由 ProfilerManager 持有)
Expand Down
Loading