public void Store(string component, string shortMessage, string fullMessage, FDLogVerbosity importance)
{
if((int)importance >= (int)verbosity) return;
DataStore.StoreLogMessage(importance, component, shortMessage, fullMessage, DateTime.Now);
if(console) //we write the message to the console also
{
Console.WriteLine ("--- " + DateTime.Now.ToString() + ": " + component + "(" + importance + ") ---");
Console.WriteLine (shortMessage);
}
}