1 Answer
- Newest
- Most votes
- Most comments
0
Hey Hamit,
Amazon GameLift has a wrapper C# Server SDK for use integrating with the Unity game engine that can be found on the GameLift getting started page: https://aws.amazon.com/gamelift/getting-started-sdks/. It isn't for Godot obviously, but it may be a good starting point for investigating how to integrate with Godot as the wrapper for Unity has specific steps to utilize log4net. This note from the readme and the sample source code could prove helpful:
## Configuring log4net for File Output
The Amazon GameLift Server SDK uses the log4net framework to output log messages. It is configured to output to the terminal of a server build by default, but requires some extra steps to add file logging support. This can be added to your project by importing the provided sample inside the Amazon GameLift Server SDK package.
1. In **Package Manager**, select **Packages: In Project** from the dropdown menu at the top, and then select the `Amazon Gamelife Server SDK` from the list of packages.
2. In the package details section, expand the **Samples** group and click on the **Import** button.
3. The `log4net.config` file and accompanying `LoggingConfiguration.cs` script that automatcially executes the configuration is now set up in the project's `Assets/Samples` folder.
4. If the log4net.config file is to be moved to a different folder in the project, its filepath in `LoggingConfiguration.cs` will need to be updated with the new path. Refer to the [log4net manual](https://logging.apache.org/log4net/release/manual/configuration.html) on configuring log4net for more information.
Regards,
answered 23 days ago
Relevant content
- asked 4 months ago
- asked 3 years ago
- asked 7 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago