github.com/xraypb/xray-core@v1.6.6/app/log/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package xray.app.log;
     4  option csharp_namespace = "Xray.App.Log";
     5  option go_package = "github.com/xraypb/xray-core/app/log";
     6  option java_package = "com.xray.app.log";
     7  option java_multiple_files = true;
     8  
     9  import "common/log/log.proto";
    10  
    11  enum LogType {
    12    None = 0;
    13    Console = 1;
    14    File = 2;
    15    Event = 3;
    16  }
    17  
    18  message Config {
    19    LogType error_log_type = 1;
    20    xray.common.log.Severity error_log_level = 2;
    21    string error_log_path = 3;
    22  
    23    LogType access_log_type = 4;
    24    string access_log_path = 5;
    25    bool enable_dns_log = 6;
    26  }