using System;
using System.Collections.Generic;
using System.Text;
namespace IndianHealthService.BMXNet
{
///
/// Current Logging facility for BMXNet. This facility conforms to the EHR/VueCentric
/// method of logging. Logging is either on or off, there is no scale from Info to Fatal to
/// turn off and on.
///
///
/// Logging is not heavily used in BMXNET40. In the EHR/VueCentric, the VIM.exe can be
/// started on the command-line with the /trace option to see RPC calls.
///
public interface Log
{
///
/// True if logging is currently enabled. It's recommend to turn logging off
/// except for diagnositics.
///
bool IsLogging { get; set; }
///
/// Call to send information to the log.
///
/// A grouping of log entries
/// A sub-grouping of log entries
/// Lines of text to write to the log
void Log(String aClass, String aCategory, params String[] lines);
///
/// Call to send information to the log where an exception occured.
///
/// A grouping of log entries
/// A sub-grouping of log entries
/// An exception to write to the log
/// Lines of text to write to the log
void Log(String aClass, String aCategory, Exception anException, params String[] lines);
}
}