Comments (3)
I think http://www.tinylog.org/ may be a good choice, it is small, easy to use, and as it is a game, having a logger hierarchy may not be that useful (there is no integration with external componant so less need to know which class logged what).
Otherwise, we could use log4j 2.x. It seems it performs well (http://logging.apache.org/log4j/2.x/manual/async.html#Performance).
from shapeofthingsthatwere.
Tinylog looks like a good idea but some design decisions seem quite strange : for instance it uses MessageFormat
syntax instead of String.format
.
from shapeofthingsthatwere.
After discussion the best solution would be slf4j as API, with log4j2 as backend. For production use there is a no-op slf4j implementation.
from shapeofthingsthatwere.
Related Issues (20)
- Must generate a main island at map center HOT 1
- Armies are able to go on sea tiles
- Have trade routes
- Make battles between armies at war
- Clarify key concepts
- Have different disaster types
- Vassals should try to revolt
- No action on most turns HOT 5
- Fog of war
- Automatically end turn when there were actions to do and all were done
- Pass the flame of civilization
- Have a growth per production ?
- Add wild species for modern food
- Show the numbers for diseases
- Show numbers for diplomatic relations
- Allow to access empire screens for other empires
- Show game title on start screen
- Explore displaying cards to combine instead of discoveries, disasters and other events HOT 1
- Show terrain cost on main screen
- Let player configure social hierarchy and specialist
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shapeofthingsthatwere.