├── .github └── workflows │ ├── cmake.yml │ ├── codeql-analysis.yml │ └── dist.yml ├── .gitignore ├── .travis.yml ├── CMakeLists.txt ├── LICENSE ├── README.md ├── bin ├── local_coverage.sh ├── log.yaml └── make.sh ├── check_tests.sh ├── dist └── include │ └── fn-log │ ├── GIT_VERSION │ ├── LICENSE │ ├── README.md │ ├── _config.yml │ ├── default_log.yaml │ └── fn_log.h ├── distribute.sh ├── make.sh ├── src └── include │ ├── fn_channel.h │ ├── fn_core.h │ ├── fn_data.h │ ├── fn_file.h │ ├── fn_fmt.h │ ├── fn_load.h │ ├── fn_log.h │ ├── fn_macro.h │ ├── fn_out_empty_device.h │ ├── fn_out_file_device.h │ ├── fn_out_screen_device.h │ ├── fn_out_udp_device.h │ ├── fn_out_virtual_device.h │ ├── fn_parse.h │ └── fn_stream.h └── tests ├── benchmark_device_30.cpp ├── benchmark_fast.cpp ├── benchmark_filter_empty.cpp ├── benchmark_multi-thread.cpp ├── benchmark_multi-thread_hotupdate.cpp ├── benchmark_multi-thread_nofile.cpp ├── benchmark_multi-thread_sync.cpp ├── benchmark_multi-thread_sync_nofile.cpp ├── benchmark_multi-thread_travis_shm.cpp ├── benchmark_multi-thread_use.cpp ├── benchmark_normal.cpp ├── benchmark_serialize_integer.cpp ├── benchmark_sync_bat_write.cpp ├── benchmark_udp.cpp ├── benchmark_virtual_device.cpp ├── stress_block_in.cpp ├── stress_multi-thread-env_concurrent_reboot.cpp ├── stress_multi-thread-env_main_reboot.cpp ├── test_bitlist.cpp ├── test_buffer.cpp ├── test_buffer_correct.cpp ├── test_channel_normal.cpp ├── test_coverage.cpp ├── test_fast_debug.cpp ├── test_fast_default.cpp ├── test_filter.cpp ├── test_filter_advance.cpp ├── test_filter_mask.cpp ├── test_hex_out.cpp ├── test_hotupdate.cpp ├── test_lex.cpp ├── test_line_no.cpp ├── test_load_config.cpp ├── test_rolling.cpp ├── test_serialize_object.cpp ├── test_shm.cpp ├── test_trans_log.cpp ├── test_udp.cpp └── test_var_define.cpp /.github/workflows/cmake.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/.github/workflows/cmake.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/dist.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/.github/workflows/dist.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/.travis.yml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/README.md -------------------------------------------------------------------------------- /bin/local_coverage.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/bin/local_coverage.sh -------------------------------------------------------------------------------- /bin/log.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/bin/log.yaml -------------------------------------------------------------------------------- /bin/make.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd .. 3 | sh make.sh 4 | -------------------------------------------------------------------------------- /check_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/check_tests.sh -------------------------------------------------------------------------------- /dist/include/fn-log/GIT_VERSION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/dist/include/fn-log/GIT_VERSION -------------------------------------------------------------------------------- /dist/include/fn-log/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/dist/include/fn-log/LICENSE -------------------------------------------------------------------------------- /dist/include/fn-log/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/dist/include/fn-log/README.md -------------------------------------------------------------------------------- /dist/include/fn-log/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/dist/include/fn-log/_config.yml -------------------------------------------------------------------------------- /dist/include/fn-log/default_log.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/dist/include/fn-log/default_log.yaml -------------------------------------------------------------------------------- /dist/include/fn-log/fn_log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/dist/include/fn-log/fn_log.h -------------------------------------------------------------------------------- /distribute.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/distribute.sh -------------------------------------------------------------------------------- /make.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/make.sh -------------------------------------------------------------------------------- /src/include/fn_channel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_channel.h -------------------------------------------------------------------------------- /src/include/fn_core.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_core.h -------------------------------------------------------------------------------- /src/include/fn_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_data.h -------------------------------------------------------------------------------- /src/include/fn_file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_file.h -------------------------------------------------------------------------------- /src/include/fn_fmt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_fmt.h -------------------------------------------------------------------------------- /src/include/fn_load.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_load.h -------------------------------------------------------------------------------- /src/include/fn_log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_log.h -------------------------------------------------------------------------------- /src/include/fn_macro.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_macro.h -------------------------------------------------------------------------------- /src/include/fn_out_empty_device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_out_empty_device.h -------------------------------------------------------------------------------- /src/include/fn_out_file_device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_out_file_device.h -------------------------------------------------------------------------------- /src/include/fn_out_screen_device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_out_screen_device.h -------------------------------------------------------------------------------- /src/include/fn_out_udp_device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_out_udp_device.h -------------------------------------------------------------------------------- /src/include/fn_out_virtual_device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_out_virtual_device.h -------------------------------------------------------------------------------- /src/include/fn_parse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_parse.h -------------------------------------------------------------------------------- /src/include/fn_stream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/src/include/fn_stream.h -------------------------------------------------------------------------------- /tests/benchmark_device_30.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_device_30.cpp -------------------------------------------------------------------------------- /tests/benchmark_fast.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_fast.cpp -------------------------------------------------------------------------------- /tests/benchmark_filter_empty.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_filter_empty.cpp -------------------------------------------------------------------------------- /tests/benchmark_multi-thread.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_multi-thread.cpp -------------------------------------------------------------------------------- /tests/benchmark_multi-thread_hotupdate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_multi-thread_hotupdate.cpp -------------------------------------------------------------------------------- /tests/benchmark_multi-thread_nofile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_multi-thread_nofile.cpp -------------------------------------------------------------------------------- /tests/benchmark_multi-thread_sync.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_multi-thread_sync.cpp -------------------------------------------------------------------------------- /tests/benchmark_multi-thread_sync_nofile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_multi-thread_sync_nofile.cpp -------------------------------------------------------------------------------- /tests/benchmark_multi-thread_travis_shm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_multi-thread_travis_shm.cpp -------------------------------------------------------------------------------- /tests/benchmark_multi-thread_use.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_multi-thread_use.cpp -------------------------------------------------------------------------------- /tests/benchmark_normal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_normal.cpp -------------------------------------------------------------------------------- /tests/benchmark_serialize_integer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_serialize_integer.cpp -------------------------------------------------------------------------------- /tests/benchmark_sync_bat_write.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_sync_bat_write.cpp -------------------------------------------------------------------------------- /tests/benchmark_udp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_udp.cpp -------------------------------------------------------------------------------- /tests/benchmark_virtual_device.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/benchmark_virtual_device.cpp -------------------------------------------------------------------------------- /tests/stress_block_in.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/stress_block_in.cpp -------------------------------------------------------------------------------- /tests/stress_multi-thread-env_concurrent_reboot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/stress_multi-thread-env_concurrent_reboot.cpp -------------------------------------------------------------------------------- /tests/stress_multi-thread-env_main_reboot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/stress_multi-thread-env_main_reboot.cpp -------------------------------------------------------------------------------- /tests/test_bitlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_bitlist.cpp -------------------------------------------------------------------------------- /tests/test_buffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_buffer.cpp -------------------------------------------------------------------------------- /tests/test_buffer_correct.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_buffer_correct.cpp -------------------------------------------------------------------------------- /tests/test_channel_normal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_channel_normal.cpp -------------------------------------------------------------------------------- /tests/test_coverage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_coverage.cpp -------------------------------------------------------------------------------- /tests/test_fast_debug.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_fast_debug.cpp -------------------------------------------------------------------------------- /tests/test_fast_default.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_fast_default.cpp -------------------------------------------------------------------------------- /tests/test_filter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_filter.cpp -------------------------------------------------------------------------------- /tests/test_filter_advance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_filter_advance.cpp -------------------------------------------------------------------------------- /tests/test_filter_mask.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_filter_mask.cpp -------------------------------------------------------------------------------- /tests/test_hex_out.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_hex_out.cpp -------------------------------------------------------------------------------- /tests/test_hotupdate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_hotupdate.cpp -------------------------------------------------------------------------------- /tests/test_lex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_lex.cpp -------------------------------------------------------------------------------- /tests/test_line_no.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_line_no.cpp -------------------------------------------------------------------------------- /tests/test_load_config.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_load_config.cpp -------------------------------------------------------------------------------- /tests/test_rolling.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_rolling.cpp -------------------------------------------------------------------------------- /tests/test_serialize_object.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_serialize_object.cpp -------------------------------------------------------------------------------- /tests/test_shm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_shm.cpp -------------------------------------------------------------------------------- /tests/test_trans_log.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_trans_log.cpp -------------------------------------------------------------------------------- /tests/test_udp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_udp.cpp -------------------------------------------------------------------------------- /tests/test_var_define.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zsummer/fn-log/HEAD/tests/test_var_define.cpp --------------------------------------------------------------------------------