mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-17 21:48:19 +00:00
9b4371f18f
Remove square brackets to reduce the amount of space used. Add log level indicator. The position between timestamp and system was chosen because it is at a fixed position (unlike after the system) but the log still remains naively sortable (which wouldn't happen if we were to place it in front of the timestamp. Before: ``` [2022-04-29 15:25:37][engine]: running on unix-linux-amd64 [2022-04-29 15:25:37][engine]: arch is little endian [2022-04-29 15:25:37][storage]: added path '$USERDIR' ('/path/to/home/.teeworlds') [2022-04-29 15:25:37][storage]: added path '$DATADIR' ('data') [2022-04-29 15:25:37][storage]: added path '$CURRENTDIR' ('/path/to/ddnet') [2022-04-29 15:25:37][host_lookup]: host='localhost' port=0 1 [2022-04-29 15:25:37][host_lookup]: host='localhost' port=0 2 [2022-04-29 15:25:37][console]: executing 'autoexec_server.cfg' ``` After: ``` 2022-04-29 15:25:37 I engine: running on unix-linux-amd64 2022-04-29 15:25:37 I engine: arch is little endian 2022-04-29 15:25:37 I storage: added path '$USERDIR' ('/path/to/home/.teeworlds') 2022-04-29 15:25:37 I storage: added path '$DATADIR' ('data') 2022-04-29 15:25:37 I storage: added path '$CURRENTDIR' ('/path/to/ddnet') 2022-04-29 15:25:37 I host_lookup: host='localhost' port=0 1 2022-04-29 15:25:37 I host_lookup: host='localhost' port=0 2 2022-04-29 15:25:37 I console: executing 'autoexec_server.cfg' ``` |
||
---|---|---|
.. | ||
android | ||
compile_libs | ||
languages | ||
check_dilate.sh | ||
check_header_guards.py | ||
check_identifiers.py | ||
checksum.py | ||
darwin_strip_rpath.py | ||
extract_identifiers.py | ||
fix_style.py | ||
gen_keys.py | ||
generate_fake_curl.py | ||
generate_unicode_confusables_data.py | ||
generate_unicode_tolower.py | ||
git_revision.py | ||
hash_passwords.py | ||
import_file_score.py | ||
integration_test.sh | ||
move_sqlite.py | ||
parse_drmingw.sh | ||
SDL_scancode.h | ||
tw_api.py | ||
unicode.py | ||
wordlist.py |