Example #1
0
 /**
  * Logs a "Remark" event, and allows to specify custom <i>RunId</i> and <i>RuntimeId</i>. For more
  * details about the <i>Product</i>, <i>Process</i>, <i>RunId</i> and <i>RuntimeId</i>
  * identifiers, read the {@link LogCenterDbFlat} overview.
  *
  * @param csChannel The name of the channel where the event is to be sent. If left <i>null</i> the
  *     event is broadcasted to all open channels.
  * @param csProcess The name of the process where the "Remark" has been done. If left <i>null</i>
  *     the {@link LogCenter} accepting the event will assume the remark is coming from its channel
  *     default process. To set the default process of a channel use {@link Log#setProcess}.
  * @param csProduct The name of the product (brand, client, source, etc.) to which the remark
  *     refers. If left <i>null</i> the {@link LogCenter} accepting the event will assume the event
  *     refers to its channel default product. To set the default product of a channel use {@link
  *     Log#setProduct}.
  * @param csName The desired name of the event. If left <i>null</i>, the default value is the
  *     event class name: <i>jlib.log.stdEvents.EventXXX</i>.
  * @param csRunId The run identifier to stamp the event with. If left <i>null</i> the {@link
  *     LogCenter} will use the its current <i>RunId</i> identifier. To set the <i>RunId</i>
  *     identifier for a channel use {@link Log#setRunId}.
  * @param csRuntimeId The execution identifier to stamp the event with. If left <i>null</i> the
  *     {@link LogCenter} will use the its current <i>RuntimeId</i> identifier. To set the
  *     <i>RuntimeId</i> identifier for a channel use {@link Log#setRuntimeId}.
  * @param csRemark An additional free text message.
  */
 public static void log(
     String csChannel,
     String csProcess,
     String csProduct,
     String csName,
     String csRunId,
     String csRuntimeId,
     String csRemark) {
   EventRemark e = new EventRemark(csProcess, csProduct, csName);
   Log.log(csChannel, e, csRemark, csRunId, csRuntimeId);
 }