source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/BMX41000/IHS BMX Framework/IndianHealthService.BMXNet/Log.cs@ 1492

Last change on this file since 1492 was 1146, checked in by Sam Habiel, 14 years ago

Initial Import of BMX4

File size: 1.7 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace IndianHealthService.BMXNet
6{
7 /// <summary>
8 /// Current Logging facility for BMXNet. This facility conforms to the EHR/VueCentric
9 /// method of logging. Logging is either on or off, there is no scale from Info to Fatal to
10 /// turn off and on.
11 /// </summary>
12 /// <remarks>
13 /// Logging is not heavily used in BMXNET40. In the EHR/VueCentric, the VIM.exe can be
14 /// started on the command-line with the /trace option to see RPC calls.
15 /// </remarks>
16 public interface Log
17 {
18 /// <summary>
19 /// True if logging is currently enabled. It's recommend to turn logging off
20 /// except for diagnositics.
21 /// </summary>
22 bool IsLogging { get; set; }
23
24 /// <summary>
25 /// Call to send information to the log.
26 /// </summary>
27 /// <param name="aClass">A grouping of log entries</param>
28 /// <param name="aCategory">A sub-grouping of log entries</param>
29 /// <param name="lines">Lines of text to write to the log</param>
30 void Log(String aClass, String aCategory, params String[] lines);
31
32 /// <summary>
33 /// Call to send information to the log where an exception occured.
34 /// </summary>
35 /// <param name="aClass">A grouping of log entries</param>
36 /// <param name="aCategory">A sub-grouping of log entries</param>
37 /// <param name="anException">An exception to write to the log</param>
38 /// <param name="lines">Lines of text to write to the log</param>
39 void Log(String aClass, String aCategory, Exception anException, params String[] lines);
40 }
41}
Note: See TracBrowser for help on using the repository browser.