目录一、案例场景二、技术选型三、编码实现1、引入依赖2、创建配置类3、持续监听线程4、编写controller进行测试调用四、原理一、案例场景
the situation is like this: im creating a Logger class that can write to a file but the write_to_file() function is in a helper class as a static function.