aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /library/cpp/logger
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'library/cpp/logger')
-rw-r--r--library/cpp/logger/global/ut/ya.make13
-rw-r--r--library/cpp/logger/global/ya.make17
-rw-r--r--library/cpp/logger/init_context/ya.make13
-rw-r--r--library/cpp/logger/ut/ya.make19
-rw-r--r--library/cpp/logger/ya.make45
5 files changed, 107 insertions, 0 deletions
diff --git a/library/cpp/logger/global/ut/ya.make b/library/cpp/logger/global/ut/ya.make
new file mode 100644
index 0000000000..df11609b6c
--- /dev/null
+++ b/library/cpp/logger/global/ut/ya.make
@@ -0,0 +1,13 @@
+UNITTEST()
+
+PEERDIR(
+ library/cpp/logger/global
+)
+
+SRCDIR(library/cpp/logger/global)
+
+SRCS(
+ rty_formater_ut.cpp
+)
+
+END()
diff --git a/library/cpp/logger/global/ya.make b/library/cpp/logger/global/ya.make
new file mode 100644
index 0000000000..40f2c49a07
--- /dev/null
+++ b/library/cpp/logger/global/ya.make
@@ -0,0 +1,17 @@
+LIBRARY()
+
+PEERDIR(
+ library/cpp/logger
+)
+
+SRCS(
+ common.cpp
+ global.cpp
+ rty_formater.cpp
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/logger/init_context/ya.make b/library/cpp/logger/init_context/ya.make
new file mode 100644
index 0000000000..282999948f
--- /dev/null
+++ b/library/cpp/logger/init_context/ya.make
@@ -0,0 +1,13 @@
+LIBRARY()
+
+PEERDIR(
+ library/cpp/logger
+ library/cpp/config
+ library/cpp/yconf
+)
+SRCS(
+ config.cpp
+ yconf.cpp
+)
+
+END()
diff --git a/library/cpp/logger/ut/ya.make b/library/cpp/logger/ut/ya.make
new file mode 100644
index 0000000000..c6fe244bd7
--- /dev/null
+++ b/library/cpp/logger/ut/ya.make
@@ -0,0 +1,19 @@
+UNITTEST()
+
+PEERDIR(
+ ADDINCL library/cpp/logger
+ library/cpp/logger/init_context
+ library/cpp/yconf/patcher
+)
+
+SRCDIR(library/cpp/logger)
+
+SRCS(
+ log_ut.cpp
+ element_ut.cpp
+ rotating_file_ut.cpp
+ composite_ut.cpp
+ reopen_ut.cpp
+)
+
+END()
diff --git a/library/cpp/logger/ya.make b/library/cpp/logger/ya.make
new file mode 100644
index 0000000000..5e426eb32e
--- /dev/null
+++ b/library/cpp/logger/ya.make
@@ -0,0 +1,45 @@
+LIBRARY()
+
+GENERATE_ENUM_SERIALIZATION(priority.h)
+
+PEERDIR(
+ library/cpp/json
+ library/cpp/deprecated/atomic
+)
+
+SRCS(
+ all.h
+ backend.cpp
+ backend_creator.cpp
+ composite.cpp
+ GLOBAL composite_creator.cpp
+ element.cpp
+ file.cpp
+ GLOBAL file_creator.cpp
+ filter.cpp
+ filter_creator.cpp
+ log.cpp
+ null.cpp
+ GLOBAL null_creator.cpp
+ priority.h
+ record.h
+ rotating_file.cpp
+ GLOBAL rotating_file_creator.cpp
+ stream.cpp
+ GLOBAL stream_creator.cpp
+ sync_page_cache_file.cpp
+ GLOBAL sync_page_cache_file_creator.cpp
+ system.cpp
+ GLOBAL system_creator.cpp
+ thread.cpp
+ thread_creator.cpp
+ GLOBAL uninitialized_creator.cpp
+ reopen.h
+)
+
+END()
+
+RECURSE(
+ global
+ ut
+)