summaryrefslogtreecommitdiff
path: root/platform/default/log_stderr.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Log the Environment ID and the Thread nameThiago Marcos P. Santos2015-03-181-2/+2
| | | | | | | | | | | | | | | | | | | To make it easier to debug, add the Environment ID and the Thread name to the log messages. For instance log messages from the TileParser will look like: [WARNING] {0}{TileWorker_15/18653/9486}[ParseTile]: some relevant warning message | | | | | | | +-> Component | | +--------------------> Thread name | +----------------------------------> Environment ID +------------------------------------------> Severity level Log messages that are not inside an Environment::Scope will work normally and will look like: [WARNING] [JNI]: some relevant warning message Fixes #882.
* Make the logging system staticThiago Marcos P. Santos2015-03-121-2/+2
| | | | | | | No initialization is needed anymore and we can use the logging functions safely at any point of the code (threading is not handled though, so you might get multiplexed messages if you log from two threads simultaneously).
* Simplify the logging mechanismThiago Marcos P. Santos2015-03-121-19/+0
| | | | | | | | | Move the implementation of the more specialized methods to the base class and let the platform implement only the most generic method that takes all the possible arguments. These specialized methods will then map to the generic implementation that must be provided by the platforms we support.
* restructure gyp filesKonstantin Käfer2014-10-241-0/+30