github.com/imannamdari/v2ray-core/v5@v5.0.5/app/log/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package v2ray.core.app.log;
     4  option csharp_namespace = "V2Ray.Core.App.Log";
     5  option go_package = "github.com/imannamdari/v2ray-core/v5/app/log";
     6  option java_package = "com.v2ray.core.app.log";
     7  option java_multiple_files = true;
     8  
     9  import "common/log/log.proto";
    10  import "common/protoext/extensions.proto";
    11  
    12  enum LogType {
    13    None = 0;
    14    Console = 1;
    15    File = 2;
    16    Event = 3;
    17  }
    18  
    19  message LogSpecification {
    20    LogType type = 1;
    21    v2ray.core.common.log.Severity level = 2;
    22    string path = 3;
    23  }
    24  
    25  message Config {
    26    option (v2ray.core.common.protoext.message_opt).type = "service";
    27    option (v2ray.core.common.protoext.message_opt).short_name = "log";
    28  
    29    reserved 1,2,3,4,5;
    30  
    31    LogSpecification error = 6;
    32    LogSpecification access = 7;
    33  }