zoukankan      html  css  js  c++  java
  • 保存我的操作日志

    将所有的操作先保存在string  strOper中,然后将strOper保存到txt文件中。
     其中:
    private string strOper=System.DateTime.Now.ToString()+"\r\n";
    用来记录当前时间。'\r\n'实现在txt文件中的换行。

        /***记录操作日志***/


    /***查看操作日志***/
  • 相关阅读:
    RabbitMQ安装
    Redis安装
    spring boot 与 vue 配置 https
    JAVA 注解
    Java 获取两个日期之间的所有日期
    数组排序
    el-table表格高度自适应
    Windows使用Nexus搭建Maven私服
    SpringCloud 整合 Python
    SpringCloud 整合 Python
  • 原文地址:https://www.cnblogs.com/flashicp/p/846456.html
Copyright © 2011-2022 走看看