Evaluate logging frameworks
Open, Needs TriagePublic

BAndiT1983 updated the task description. (Show Details)
BAndiT1983 raised the priority of this task from to Needs Triage.
BAndiT1983 added a project: Open Cine.
BAndiT1983 moved this task to Core on the Open Cine board.
BAndiT1983 updated the task description. (Show Details)
BAndiT1983 added a subscriber: BAndiT1983.
BAndiT1983 added a comment.EditedMar 13 2015, 9:35 PM

Some code snippets for possible later use:

enum class LogLevel
{
    Info,
    Warning,
    Error,
    ...
};

logger.Log(LogLevel::Info, "Load layout");
logger.Log(LogLevel::Error, "Loading " + fileName + " failed");

Logger will be adjusted to use Singleton pattern for now, as the Windows build is failing with current inheritance approach (Linux one was fine). Later it can be rewritten to use more loose coupled approach through an injection framework, like https://sites.google.com/site/fruitlib/home. This would also have advantage in deriving the components from a common base, e.g. components as services with access interfaces like REST, RPC, shared memory and so on.