mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-01 01:44:15 +00:00
v1.0.0
This commit is contained in:
parent
47d23e9972
commit
c7f7c08ead
711 changed files with 82154 additions and 2 deletions
25
app/log/config.proto
Normal file
25
app/log/config.proto
Normal file
|
@ -0,0 +1,25 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package xray.app.log;
|
||||
option csharp_namespace = "Xray.App.Log";
|
||||
option go_package = "github.com/xtls/xray-core/v1/app/log";
|
||||
option java_package = "com.xray.app.log";
|
||||
option java_multiple_files = true;
|
||||
|
||||
import "common/log/log.proto";
|
||||
|
||||
enum LogType {
|
||||
None = 0;
|
||||
Console = 1;
|
||||
File = 2;
|
||||
Event = 3;
|
||||
}
|
||||
|
||||
message Config {
|
||||
LogType error_log_type = 1;
|
||||
xray.common.log.Severity error_log_level = 2;
|
||||
string error_log_path = 3;
|
||||
|
||||
LogType access_log_type = 4;
|
||||
string access_log_path = 5;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue