Home
last modified time | relevance | path

Searched refs:file (Results 1 – 13 of 13) sorted by relevance

/xiu/library/logger/src/
H A Dlogger.rs82 let file = OpenOptions::new().append(true).open(full_path)?; in gen_log_file() localVariable
83 Ok(file) in gen_log_file()
116 Ok(file) => { in gen_log_file_thread_run()
118 *state = file; in gen_log_file_thread_run()
160 let file = gen_log_file(rotate_val.clone(), path_val.clone())?; in new() localVariable
161 let target = FileTarget::new(file)?; in new()
221 Ok(mut file) => { in test_write_file()
222 if let Err(err) = file.write_all(&[b'h', b'e', b'l', b'l', b'o', b'o']) { in test_write_file()
H A Dtarget.rs12 pub fn new(file: File) -> Result<Self> { in new()
14 cur_file_handler: Arc::new(Mutex::new(file)), in new()
/xiu/application/xiu/src/config/
H A Dconfig.toml66 [log.file]
67 # write log to file or not(Writing logs to file or console cannot be satisfied at the same time).
H A Dmod.rs75 file: None, in new()
149 pub file: Option<LogFile>, field
/xiu/
H A DREADME.md39 - [x] Support GOP cache which can be configured in the configuration file.
83 -c, --config <path> Specify the xiu server configuration file path.
123 ##### Configure using file
132 #### How to Configure the configuration file
187 [log.file]
188 … # write log to file or not(Writing logs to file or console cannot be satisfied at the same time).
264 The configuration file of Service 1 named config.toml:
274 The configuration file of Service 2 named config_push.toml:
295 The configuration file are as follows:
297 The configuration file of Service 1 named config.toml:
[all …]
H A DREADME_CN.md80 -c, --config <path> Specify the xiu server configuration file path.
179 [log.file]
H A DCargo.lock1 # This file is automatically @generated by Cargo.
/xiu/application/xiu/
H A DREADME.md34 - [x] Support GOP cache which can be configured in the configuration file.
78 -c, --config <path> Specify the xiu server configuration file path.
118 ##### Configure using file
127 #### How to Configure the configuration file
182 [log.file]
183 … # write log to file or not(Writing logs to file or console cannot be satisfied at the same time).
259 The configuration file of Service 1 named config.toml:
269 The configuration file of Service 2 named config_push.toml:
290 The configuration file are as follows:
292 The configuration file of Service 1 named config.toml:
[all …]
/xiu/protocol/hls/src/
H A Dtest_flv2hls.rs54 let mut file = in test_flv2hls() localVariable
58 file.read_to_end(&mut contents)?; in test_flv2hls()
H A Dserver.rs63 if let Ok(file) = File::open(filename).await { in simple_file_send()
64 let stream = FramedRead::new(file, BytesCodec::new()); in simple_file_send()
/xiu/.github/ISSUE_TEMPLATE/
H A Dbug_report.md17 Steps to reproduce the behavior, provide necessary files to reproduce(e.g. record file or wireshark…
/xiu/application/xiu/src/
H A Dmain.rs168 let (rotate, path) = if let Some(file_info) = &log_config_value.file { in main()
/xiu/protocol/webrtc/src/session/
H A Dmod.rs487 let mut file = File::open(file_path).expect("Failed to open file"); in gen_file_response() localVariable
489 file.read_to_end(&mut contents) in gen_file_response()