enhance: toml format

This commit is contained in:
luwenpeng
2024-08-20 19:20:24 +08:00
parent f061f9abc1
commit b46a5d4b23
8 changed files with 43 additions and 36 deletions

View File

@@ -1,4 +1,4 @@
[log]
output = stderr # stderr, file
level = DEBUG # TRACE, DEBUG, INFO, WARN, ERROR, FATAL
output = "stderr" # stderr, file
level = "DEBUG" # TRACE, DEBUG, INFO, WARN, ERROR, FATAL
file = "log/stellar.log"

View File

@@ -3,9 +3,9 @@ snowflake_base = 1 # [0, 31]
snowflake_offset = 2 # [0, 127]
[packet_io]
mode = marsio # dumpfile, dumpfilelist, marsio
app_symbol = stellar
dev_symbol = nf_0_fw
mode = "dumpfile" # dumpfile, dumpfilelist, marsio
app_symbol = "stellar"
dev_symbol = "nf_0_fw"
dumpfile_path = "/tmp/dumpfile/dumpfile.pcap"
#dumpfile_path = "/tmp/dumpfile/dumpfilelist"