public static SystemLogEntry Write(DateTime date, Instrument instrument, Type type, object message) { if (Adapter == null) { return(null); } return(Adapter.Write(date, instrument, type, message == null ? "" : message.ToString())); }