aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /library/cpp/logger
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
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
+)