Searched refs:file (Results 1 – 13 of 13) sorted by relevance
| /xiu/library/logger/src/ |
| H A D | logger.rs | 82 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 D | target.rs | 12 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 D | config.toml | 66 [log.file] 67 # write log to file or not(Writing logs to file or console cannot be satisfied at the same time).
|
| H A D | mod.rs | 75 file: None, in new() 149 pub file: Option<LogFile>, field
|
| /xiu/ |
| H A D | README.md | 39 - [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 D | README_CN.md | 80 -c, --config <path> Specify the xiu server configuration file path. 179 [log.file]
|
| H A D | Cargo.lock | 1 # This file is automatically @generated by Cargo.
|
| /xiu/application/xiu/ |
| H A D | README.md | 34 - [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 D | test_flv2hls.rs | 54 let mut file = in test_flv2hls() localVariable 58 file.read_to_end(&mut contents)?; in test_flv2hls()
|
| H A D | server.rs | 63 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 D | bug_report.md | 17 Steps to reproduce the behavior, provide necessary files to reproduce(e.g. record file or wireshark…
|
| /xiu/application/xiu/src/ |
| H A D | main.rs | 168 let (rotate, path) = if let Some(file_info) = &log_config_value.file { in main()
|
| /xiu/protocol/webrtc/src/session/ |
| H A D | mod.rs | 487 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()
|