Skip to content

Instantly share code, notes, and snippets.

@s-bauer
Created February 19, 2018 17:42
Show Gist options
  • Save s-bauer/c9ce6e98d663ab716fc393eee7853242 to your computer and use it in GitHub Desktop.
Save s-bauer/c9ce6e98d663ab716fc393eee7853242 to your computer and use it in GitHub Desktop.
[ 1076][N][ConfigManager] Trying to open file "config.json" with permission "r"
[ 1093][N][ConfigManager] Opened file "config.json"
[ 1093][V][ConfigManager] Config file size: 34
[ 1094][V][ConfigManager] File content: {"version":"0.2","led_count":"64"}
[ 1098][V][ConfigManager] Parsing json
[ 1102][N][ConfigManager] Json is:
{"version":"0.2","led_count":"64"}
[ 1108][N][ConfigManager] Version is: 0.2
[ 1112][N][ConfigManager] Json is:
{"v␂":"0.2","led_count":"64"}
[ 1118][N][ConfigManager] Parsed json successfully
[ 1123][W][ConfigManager] Invalid config file
[ 1127][N][ConfigManager] Recreating config file
[ 1132][N][ConfigManager] Overwriting file "config.json"
[ 1137][N][ConfigManager] Trying to open file "config.json" with permission "w"
[ 1157][N][ConfigManager] Opened file "config.json"
[ 1158][N][ConfigManager] Creating new config
[ 1158][N][ConfigManager] Creating json object
[ 1160][N][ConfigManager] Writing to file
[ 1164][N][ConfigManager] Flushing file
[ 1170][N]JSON IS:
{
"version": "0.2",
"led_count": "64"
}[ 1174][N][ConfigManager] Sucessfully read json
[ 1178][N][ConfigManager] Creating settings
[ 1182][N][ConfigManager] Populating settings
[ 1186][N][ConfigManager] Populating "version"="0.2"
[ 1191][N][ConfigManager] Populating "led_count"="64"
[ 1196][N][ConfigManager] Sucessfully parsed settings file
[ 1202][N][Main] Initialized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment