Read about unity's loggers here, https://docs.unity3d.com/ScriptReference/Logger.html
//create a logger.
var logger = new Logger(new FileLogger("my-log-file"));
// Log something to a log file.
logger.Log(LogType.Log, "Hello World!");
12/10/2019 9:27:39 PM Log Resourcepacks/default/assets/minecraft/blockstates/acacia_trapdoor.json
12/10/2019 9:27:39 PM Log Inserted acacia_trapdoor with 16 variants.
12/10/2019 9:27:39 PM Log Resourcepacks/default/assets/minecraft/blockstates/acacia_wood.json
12/10/2019 9:27:39 PM Log Inserted acacia_wood with 3 variants.
12/10/2019 9:27:39 PM Log Resourcepacks/default/assets/minecraft/blockstates/activator_rail.json
12/10/2019 9:27:39 PM Log Inserted activator_rail with 12 variants.
12/10/2019 9:27:39 PM Log Resourcepacks/default/assets/minecraft/blockstates/air.json
12/10/2019 9:27:39 PM Exception Newtonsoft.Json.JsonReaderException: Additional text encountered after finished reading JSON content: t. Path '', line 6, position 0.
at Newtonsoft.Json.JsonTextReader.Read () [0x000c7] in <6e2e10d078be42bcb47e6374224b596a>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <6e2e10d078be42bcb47e6374224b596a>:0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <6e2e10d078be42bcb47e6374224b596a>:0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <6e2e10d078be42bcb47e6374224b596a>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <6e2e10d078be42bcb47e6374224b596a>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <6e2e10d078be42bcb47e6374224b596a>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <6e2e10d078be42bcb47e6374224b596a>:0
at Pack.ResourcePack.loadAllStates () [0x00051] in /home/tom/Documents/git-repos/Minecraft-Unity3D/Minecraft Client/Assets/_Project/Scripts/ResourcePacks/ResourcePack.cs:107
12/10/2019 9:27:39 PM Log Resourcepacks/default/assets/minecraft/blockstates/allium.json
12/10/2019 9:27:39 PM Log Inserted allium with 1 variants.
12/10/2019 9:27:39 PM Log Resourcepacks/default/assets/minecraft/blockstates/andesite.json
12/10/2019 9:27:39 PM Log Inserted andesite with 1 variants.