Crates.io | async-tcp-channel |
lib.rs | async-tcp-channel |
version | 0.1.4 |
source | src |
created_at | 2023-04-10 10:36:21.437953 |
updated_at | 2023-04-11 06:28:55.217577 |
description | A low level TCP socket/stream based message channel implementation. |
homepage | https://github.com/zhongdongy/async-tcp-channel |
repository | https://github.com/zhongdongy/async-tcp-channel.git |
max_upload_size | |
id | 835000 |
size | 80,301 |
This crate is NOT production ready!
The following loggers are used:
atc-listener
: Server side logs.atc-connector
: Client side logs.atc-frame
: Frame parsing logs.Example log4rs.yml
configuration file:
refresh_rate: 30 seconds
appenders:
atc_listener_appender:
kind: file
path: "log/atc_listener.log"
encoder:
pattern: "{d} {l} - {m}{n}"
atc_connector_appender:
kind: file
path: "log/atc_connector.log"
encoder:
pattern: "{d} {l} - {m}{n}"
atc_frame_appender:
kind: file
path: "log/atc_frame.log"
encoder:
pattern: "{d} {l} - {m}{n}"
root:
level: warn
appenders:
- atc_listener_appender
loggers:
atc-listener:
level: debug
appenders:
- atc_listener_appender
additive: false
atc-connector:
level: debug
appenders:
- atc_connector_appender
additive: false
atc-frame:
level: debug
appenders:
- atc_frame_appender
additive: false