cpp_client_telemetry/tools/tracing-rename.sh

14 строки
598 B
Bash
Исходник Обычный вид История

2018-03-30 04:50:09 +03:00
#!/bin/sh
find . -name "*.cpp" -exec sed -i 's/ARIASDK_LOG_DETAIL/LOG_TRACE/g' {} +
find . -name "*.hpp" -exec sed -i 's/ARIASDK_LOG_DETAIL/LOG_TRACE/g' {} +
find . -name "*.cpp" -exec sed -i 's/ARIASDK_LOG_INFO/LOG_INFO/g' {} +
find . -name "*.hpp" -exec sed -i 's/ARIASDK_LOG_INFO/LOG_INFO/g' {} +
find . -name "*.cpp" -exec sed -i 's/ARIASDK_LOG_WARNING/LOG_WARN/g' {} +
find . -name "*.hpp" -exec sed -i 's/ARIASDK_LOG_WARNING/LOG_WARN/g' {} +
find . -name "*.cpp" -exec sed -i 's/ARIASDK_LOG_ERROR/LOG_ERROR/g' {} +
find . -name "*.hpp" -exec sed -i 's/ARIASDK_LOG_ERROR/LOG_ERROR/g' {} +