Leadtools.Logging Getting Started

Summary

LEADTOOLS (Leadtools.Logging assembly)

For pointers to sample programs that demonstrate many of the features, see the table below:

.NET
.NET Framework

.NET

Redistributables Paths

Path Target Platform
<installdir>\Bin\net .NET 6+
Assembly - Class/Namespace Comments
Leadtools.Logging.DLL - Leadtools.Logging Provides classes, interfaces and enumerations for accessing logging channels and setting the logging configuration.

Dependencies

Library Description Dependencies
Leadtools.Logging.dll Core Library Leadtools.dll
NuGet PackageDescription
Leadtools.Logging.dll This package is unlisted and meant only for advanced users of LEADTOOLS.

Sample Programs

Demo Name Source Code Path Description
Medical AE Management Data Access Layer \Examples\Medical\DotNet\Medical.AeManagement.DataAccessLayer\net

Implements the SQL database methods used in interacting with the Application Entity(AE) title.

Demo Name Source Code Path Description
Medical Export Layout Data Access Layer \Examples\Medical\DotNet\Medical.ExportLayout.DataAccessLayer\net

Implements the SQL database methods used in exporting viewer layout.

Demo Name Source Code Path Description
Medical Forward Data Access Layer \Examples\Medical\DotNet\Medical.Forward.DataAccessLayer\net

Implements the SQL database methods used in cleaning and forwarding images to the server.

Demo Name Source Code Path Description
Medical HL7 Data Access Layer \Examples\Medical\DotNet\Medical.HL7.DataAccessLayer\net

Implements the SQL database methods to add and process HL7 messages for the server.

Demo Name Source Code Path Description
Medical Options Data Access Layer \Examples\Medical\DotNet\Medical.Options.DataAccessLayer\net

Implements the SQL database methods that control user and role options for the server.

Demo Name Source Code Path Description
Medical Permissions Management Data Access Layer \Examples\Medical\DotNet\Medical.PermissionsManagement.DataAccessLayer\net

Implements the SQL database methods that manages permissions for server users.

Demo Name Source Code Path Description
Medical User Management Data Access Layer \Examples\Medical\DotNet\Medical.UserManagementDataAccessLayer\net

Demonstrates four implementations for the User Management Access Layer that provides SQL database methods for controlling user access, passwords, privileges, authentication, and verification.

Demo Name Source Code Path Description
Find Addin \Examples\Medical\DotNet\SampleAddIns\AddIn.Find\net

Implements an interface to create and process Find requests.

Demo Name Source Code Path Description
Move Addin \Examples\Medical\DotNet\SampleAddIns\AddIn.Move\net

Implements an interface to create and process Move requests.

Demo Name Source Code Path Description
Sample Events Addin \Examples\Medical\DotNet\SampleAddIns\AddIn.Sample.Events\net

Demonstrates how to handle server events with an example for handling role selection on the BeforeSendAssociateAccept() event.

Demo Name Source Code Path Description
Security Addin \Examples\Medical\DotNet\SampleAddIns\AddIn.Security\net

Implements an interface to manage a server's security and certificate options.

Demo Name Source Code Path Description
Storage Commit Addin \Examples\Medical\DotNet\SampleAddIns\AddIn.StorageCommit\net

Implements an interface to create and process Storage Commit requests.

Demo Name Source Code Path Description
Dicom Communication Logging Addin \Examples\Medical\DotNet\SampleAddIns\Configuration.Logging\net

Implements a logging channel interface to be loaded in the global logging channels of the DICOM service.

.NET Framework

Redistributables Paths

Path Target Platform
<installdir>\Bin\DotNet4\Win32 x86 .NET 4 or 4.5
<installdir>\Bin\DotNet4\x64 x64 .NET 4 or 4.5

Assembly - Class/Namespace

Comments
PACS Configuration Demo

Leadtools.Logging.DLL - Leadtools.Logging

Provides classes, interfaces and enumerations for accessing logging channels and setting the logging configuration.

Dependencies

Library Description Dependencies
Leadtools.Logging.dll Core Library

Leadtools.dll


NuGet PackageDescription
Leadtools.Logging.dll This package is unlisted and meant only for advanced users of LEADTOOLS.

Sample Programs

Demo Name Source Code Path Pre-Compiled Executable Path Description
Customizing Worklist DAL \Examples\Medical\DotNet\CustomizingWorklistDAL\fx \Bin\DotNet4\<Win32/x64>\CustomizingWorklistDAL_Original.exe

Demonstrates how to customize the Modality Worklist Database used by the DICOM MWL demos.

  • Displays the database tables.
  • Adds columns to the database to map corresponding DICOM tags.
  • Simulates Modality Worklist C-FIND.
Demo Name Source Code Path Description
Data Access Layers \Examples\Medical\DotNet\DataAccessLayers\fx

Provides the core SQL methods used for data access layers.

Demo Name Source Code Path Description
Data Access Layers Core \Examples\Medical\DotNet\DataAccessLayers.Core\fx

Provides the core classes used for data access layers.

Demo Name Source Code Path Description
LEADTOOLS DICOM Server Manager \Examples\Medical\DotNet\Dicom.Server.Manager\fx

Allows the management of multiple LEADTOOLS PACS Framework Servers from one location.

  • Add, remove, start, stop & pause any of the server services
  • Allows client configuration to any server
  • Exposes the configuration settings for all add-ins for all servers from one user interface
Demo Name Source Code Path Description
LEADTOOLS DICOM Watchdog library (Leadtools.Dicom.Watchdog.dll) \Examples\Medical\DotNet\Dicom.Watchdog\fx

The DICOM Watchdog monitors the health of a LEADTOOLS DICOM Listening service.

The DICOM Watchdog can be configured to automatically restart the LEADTOOLS DICOM Listening service if it is no longer processing DICOM Messages

It is comprised of three assemblies:

  • Dicom.Watchdog.Demo.exe: an end user application/user interface
  • Leadtools.Dicom.Watchdog.Service.exe: a windows service that monitors a LEADTOOLS DICOM listening service.
  • Leadtools.Dicom.Watchdog.dll: a library containing common code shared by both the DICOM Watchdog end-user-application and the watchdog windows service
Demo Name Source Code Path Pre-Compiled Executable Path Description
LEADTOOLS DICOM Watchdog demo (Dicom.Watchdog.Demo.exe) \Examples\Medical\DotNet\Dicom.Watchdog.Demo\fx \Bin\DotNet4\<Win32/x64>\Dicom.Watchdog.Demo_Original.exe

The DICOM Watchdog monitors the health of a LEADTOOLS DICOM Listening service.

The DICOM Watchdog can be configured to automatically restart the LEADTOOLS DICOM Listening service if it is no longer processing DICOM Messages

It is comprised of three assemblies:

  • Dicom.Watchdog.Demo.exe: an end user application/user interface
  • Leadtools.Dicom.Watchdog.Service.exe: a windows service that monitors a LEADTOOLS DICOM listening service.
  • Leadtools.Dicom.Watchdog.dll: a library containing common code shared by both the DICOM Watchdog end-user-application and the watchdog windows service
Demo Name Source Code Path Description
LEADTOOLS DICOM Watchdog listening service (Leadtools.Dicom.Watchdog.Service.exe) \Examples\Medical\DotNet\Dicom.Watchdog.Service\fx

The DICOM Watchdog monitors the health of a LEADTOOLS DICOM Listening service.

The DICOM Watchdog can be configured to automatically restart the LEADTOOLS DICOM Listening service if it is no longer processing DICOM Messages

It is comprised of three assemblies:

  • Dicom.Watchdog.Demo.exe: an end user application/user interface
  • Leadtools.Dicom.Watchdog.Service.exe: a windows service that monitors a LEADTOOLS DICOM listening service.
  • Leadtools.Dicom.Watchdog.dll: a library containing common code shared by both the DICOM Watchdog end-user-application and the watchdog windows service
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM High Level Client \Examples\Medical\DotNet\DicomHighlevelClientDemo\fx \Bin\DotNet4\<Win32/x64>\DicomHighlevelClientDemo_Original.exe

Demonstrates implementation of a DICOM client.

  • Connect to a query an existing DICOM server (PACS)
  • Implements DICOM C-STORE SCU
  • Implements DICOM C-MOVE SCU
  • Implements DICOM C-FIND SCU
  • Implements DICOM C-ECHO SCU
  • Demonstrates connect, associate, query, and retrieve
Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM High Level MWL SCU \Examples\Medical\DotNet\DicomHighLevelMWLScuDemo\fx \Bin\DotNet4\<Win32/x64>\DicomHighLevelMwlScuDemo_Original.exe

Demonstrates creating a DICOM Modality Worklist SCU example that will query a MWL SCP for a worklist and copy data from the MWL response attributed to the requested IOD class.

Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM High Level Patient Updater \Examples\Medical\DotNet\DicomHighlevelPatientUpdaterDemo\fx \Bin\DotNet4\<Win32/x64>\DicomHighlevelPatientUpdaterDemo_Original.exe

Demonstrates updating existing patient information in the Storage Server database using custom DICOM N-ACTION commands.

Demo Name Source Code Path Pre-Compiled Executable Path Description
DICOM High Level Storage SCU \Examples\Medical\DotNet\DicomHighlevelStoreDemo\fx \Bin\DotNet4\<Win32/x64>\DicomHighlevelStoreDemo_Original.exe

Demonstrates implementation of a DICOM storage client (SCU).

  • Implements DICOM C-STORE SCU
  • Stores DICOM files to a PACS (DICOM Storage Server)
Demo Name Source Code Path Description
Medical AE Addin \Examples\Medical\DotNet\Medical.Ae.Configuration\fx

Implements an interface for interacting with the Application Entity (AE) title.

Demo Name Source Code Path Description
Medical AE Management Data Access Layer \Examples\Medical\DotNet\Medical.AeManagement.DataAccessLayer\fx

Implements the SQL database methods used in interacting with the Application Entity(AE) title.

Demo Name Source Code Path Description
Medical AutoCopy Addin \Examples\Medical\DotNet\Medical.AutoCopy.AddIn\fx

Implements an interface for automatically copying medical images to the server while processing requests.

Demo Name Source Code Path Description
Medical Export Layout Addin \Examples\Medical\DotNet\Medical.ExportLayout.AddIn\fx

Implements an interface for exporting viewer layout.

Demo Name Source Code Path Description
Medical Export Layout Data Access Layer \Examples\Medical\DotNet\Medical.ExportLayout.DataAccessLayer\fx

Implements the SQL database methods used in exporting viewer layout.

Demo Name Source Code Path Description
Medical External Store Addin \Examples\Medical\DotNet\Medical.ExternalStore.Addin\fx

Implements an interface for configuring and interacting with an External Store.

Demo Name Source Code Path Description
Medical External Store Amazon S3 Addin \Examples\Medical\DotNet\Medical.ExternalStore.AmazonS3.Addin\fx

Implements an interface for configuring and interacting with an Amazon S3 hosted External Store.

Demo Name Source Code Path Description
Medical External Store Atmos Addin \Examples\Medical\DotNet\Medical.ExternalStore.Atmos.Addin\fx

Implements an interface for configuring and interacting with an EMC Atmos hosted External Store.

Demo Name Source Code Path Description
Medical External Store Azure Addin \Examples\Medical\DotNet\Medical.ExternalStore.Azure.Addin\fx

Implements an interface for configuring and interacting with an Azure hosted External Store.

Demo Name Source Code Path Description
Medical Forward AddIn \Examples\Medical\DotNet\Medical.Forward.AddIn\fx

Implements an interface for cleaning and forwarding images to the server.

Demo Name Source Code Path Description
Medical Forward Data Access Layer \Examples\Medical\DotNet\Medical.Forward.DataAccessLayer\fx

Implements the SQL database methods used in cleaning and forwarding images to the server.

Demo Name Source Code Path Description
Medical Gateway AddIn \Examples\Medical\DotNet\Medical.Gateway.AddIn\fx

Implements an interface to register server gateway and configure gateway services.

Demo Name Source Code Path Description
Medical HL7 Data Access Layer \Examples\Medical\DotNet\Medical.HL7.DataAccessLayer\fx

Implements the SQL database methods to add and process HL7 messages for the server.

Demo Name Source Code Path Description
Medical HL7 MWL AddIn \Examples\Medical\DotNet\Medical.HL7MWL.AddIn\fx

Implements an interface to control a modality worklist (MWL) through HL7 messaging.

Demo Name Source Code Path Description
Medical HL7 Patient Update AddIn \Examples\Medical\DotNet\Medical.HL7PatientUpdate.AddIn\fx

Implements an interface to update patient information through HL7 messaging.

Demo Name Source Code Path Description
Medical License Configuration \Examples\Medical\DotNet\Medical.License.Configuration\fx

Configures the medical server license and shows the status of features unlocked by the license.

Demo Name Source Code Path Description
Medical Logging AddIn \Examples\Medical\DotNet\Medical.Logging.AddIn\fx

Implements an interface to control event logging for the server.

Demo Name Source Code Path Description
Medical Media AddIns \Examples\Medical\DotNet\Medical.Media.AddIns\fx

Implements an interface to control media in the server.

  • Burn media to ISO/DVD
  • Control automatic media creation at client's request
  • Configure media creation job and maintenance options
Demo Name Source Code Path Description
Medical Options Data Access Layer \Examples\Medical\DotNet\Medical.Options.DataAccessLayer\fx

Implements the SQL database methods that control user and role options for the server.

Demo Name Source Code Path Description
Medical Patient Restrict AddIn \Examples\Medical\DotNet\Medical.PatientRestrict.AddIn\fx

Implements an interface to restrict user access to patient information.

Demo Name Source Code Path Description
Medical Patient Updater AddIn \Examples\Medical\DotNet\Medical.PatientUpdater.AddIn\fx

Implements an interface to update patient information.

Demo Name Source Code Path Description
Medical Permissions Management Data Access Layer \Examples\Medical\DotNet\Medical.PermissionsManagement.DataAccessLayer\fx

Implements the SQL database methods that manages permissions for server users.

Demo Name Source Code Path Description
Medical Rules AddIn \Examples\Medical\DotNet\Medical.Rules.AddIn\fx

Implements an interface to control server rules, scripts, and manual resends.

Demo Name Source Code Path Description
Medical Search Other Patients IDs Addin \Examples\Medical\DotNet\Medical.SearchOtherPatientIds.Addin\fx

Configures C-FIND queries to search the "Other Patients IDs" element in addition to the "Patient ID" element.

Demo Name Source Code Path Description
Medical Security AddIn \Examples\Medical\DotNet\Medical.Security.AddIn\fx

Implements an interface to manage a server's security and certificate options.

Demo Name Source Code Path Description
Medical Storage AddIns \Examples\Medical\DotNet\Medical.Storage.AddIns\fx

Implements an interface to configure and process the following requests in a storage server:

  • Query
  • Store
  • Storage Commit
Demo Name Source Code Path Description
Medical User Management Data Access Layer \Examples\Medical\DotNet\Medical.UserManagementDataAccessLayer\fx

Demonstrates four implementations for the User Management Access Layer that provides SQL database methods for controlling user access, passwords, privileges, authentication, and verification.

Demo Name Source Code Path Description
Medical WinForms Library \Examples\Medical\DotNet\Medical.WinForms\fx

Generates the Medical.Winforms.dll assembly that provide the following classes:

  • AnonymizeControl
  • AutoCopy
  • ClientManager
  • DatabaseManager
  • DicomImport
  • EventBroker
  • EventLogViewer
  • ExportLayout
  • Forwarder
  • LicenseManager
  • LogAudit
  • Monitor
  • PatientUpdater
  • Product
  • SecurityOptions
  • StorageClassesControl
  • SystemInformationControl
  • UserAccess
  • WorklistDatabaseEditor
Demo Name Source Code Path Description
Medical Worklist AddIns \Examples\Medical\DotNet\Medical.Worklist.AddIns\fx

Implements an interface to configure and process the following requests in a Modality Worklist(MWL) server:

  • N-CREATE and Modality Performed Procedure Step (MPPS) N-CREATE
  • N-SET and MPPS N-SET
  • C-FIND and MWL C-FIND
Demo Name Source Code Path Pre-Compiled Executable Path Description
LEADTOOLS Medical Menu \Examples\Medical\DotNet\MedicalMainMenu\fx \Bin\DotNet4\<Win32/x64>\MedicalMainMenu_Original.exe

Provides links to pre-built LEADTOOLS medical demos that come with the toolkit.

  • Configuration
  • DICOM Server
  • DICOM Client
  • DICOM Viewer
  • Troubleshooting
Demo Name Source Code Path Pre-Compiled Executable Path Description
Medical Workstation Customization \Examples\Medical\DotNet\MedicalWorkstationCustomizationDemo\fx \Bin\DotNet4\<Win32/x64>\MedicalWorkstationCustomizationDemo_Original.exe

Demonstrates how to customize the Medical Workstation.

  • Shows how to customize the Workstation Toolbar/Context Menu.
  • Shows how to implement a simple feature and register it with the Workstation Framework.
  • Shows how to translate all the Workstation text into another language.
  • Shows how to replace a View (dialog/control) used by the Workstation.
Demo Name Source Code Path Pre-Compiled Executable Path Description
Medical Workstation DICOM Directory \Examples\Medical\DotNet\MedicalWorkstationDicomDirDemo\fx \Bin\DotNet4\<Win32/x64>\MedicalWorkstationDicomDirDemo_Original.exe

Demonstrates how to view a DICOM directory with the Medical Workstation.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Medical Workstation Main \Examples\Medical\DotNet\MedicalWorkstationMainDemo\fx \Bin\DotNet4\<Win32/x64>\MedicalWorkstationMainDemo_Original.exe

Demonstrates building a fully featured PACS Workstation application using the LEADTOOLS Medical Workstation Framework.

  • 2D and 3D Workstation Viewer
  • Real-world tools used by radiologists and other health care professionals
  • Modular design features fully customizable components to build an entire PACS or replace individual pieces of an existing system
  • Easy customization, localization, and branding
Demo Name Source Code Path Pre-Compiled Executable Path Description
Modality Worklist WCF \Examples\Medical\DotNet\ModalityWorklistWCFDemo\fx \Bin\DotNet4\<Win32/x64>\ModalityWorklistWCFDemo_Original.exe

Demonstrates working with a Modality Worklist server.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Modality Performed Procedure Step WCF \Examples\Medical\DotNet\MPPSWCFDemo\fx \Bin\DotNet4\<Win32/x64>\MPPSWCFDemo_Original.exe

Demonstrates editing a MPPS instance on a Modality Worklist server.

Demo Name Source Code Path Pre-Compiled Executable Path Description
PACS Configuration \Examples\Medical\DotNet\PACSConfigDemo\fx \Bin\DotNet4\<Win32/x64>\PACSConfigDemo_Original.exe

The LEADTOOLS PACS Configuration Demo is used to configure the PACS Framework demos.

Demo Name Source Code Path Pre-Compiled Executable Path Description
PACS Database Configuration \Examples\Medical\DotNet\PACSDatabaseConfigurationDemo\fx \Bin\DotNet4\<Win32/x64>\PacsDatabaseConfigurationDemo_Original.exe

The LEADTOOLS PACS Database Configuration Demo is used to configure the PACS Framework databases.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Print to PACS \Examples\Medical\DotNet\PrintToPACSDemo\fx \Bin\DotNet4\<Win32/x64>\PrintToPACSDemo_Original.exe

Demonstrates combining capture options such as Virtual Printer Driver, Screen Capture, TWAIN or WIA with the PACS Framework.

  • Shows how to capture an image via virtual printer, screen capture, or scanning and save as DICOM.
  • Shows how to gather DICOM metadata and add to the DICOM dataset.
  • Shows how to store the DICOM dataset to a PACS using DICOM C-STORE messages.
Demo Name Source Code Path Description
Find Addin \Examples\Medical\DotNet\SampleAddIns\AddIn.Find\fx

Implements an interface to create and process Find requests.

Demo Name Source Code Path Description
Move Addin \Examples\Medical\DotNet\SampleAddIns\AddIn.Move\fx

Implements an interface to create and process Move requests.

Demo Name Source Code Path Description
Sample Events Addin \Examples\Medical\DotNet\SampleAddIns\AddIn.Sample.Events\fx

Demonstrates how to handle server events with an example for handling role selection on the BeforeSendAssociateAccept() event.

Demo Name Source Code Path Description
Security Addin \Examples\Medical\DotNet\SampleAddIns\AddIn.Security\fx

Implements an interface to manage a server's security and certificate options.

Demo Name Source Code Path Description
Storage Commit Addin \Examples\Medical\DotNet\SampleAddIns\AddIn.StorageCommit\fx

Implements an interface to create and process Storage Commit requests.

Demo Name Source Code Path Description
Store Addin \Examples\Medical\DotNet\SampleAddIns\AddIn.Store\fx

Implements an interface to create and process Store requests.

Demo Name Source Code Path Description
Dicom Communication Logging Addin \Examples\Medical\DotNet\SampleAddIns\Configuration.Logging\fx

Implements a logging channel interface to be loaded in the global logging channels of the DICOM service.

Demo Name Source Code Path Description
Medical External Store Sample Addin \Examples\Medical\DotNet\SampleAddIns\Medical.ExternalStore.Sample.Addin\fx

Demonstrates how to derive an external class for use with a DICOM listening service.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Storage Server Manager \Examples\Medical\DotNet\StorageServerManager\fx \Bin\DotNet4\<Win32/x64>\StorageServerManagerDemo_Original.exe

This is a Fully Functional OEM-ready DICOM Storage server application with source code that includes the following features:

  • Storage Add-in that supports query/retrieve and Store with extensive options..
  • Logging Add-in that supports many filtering options including Automatic export of logs.
  • Patient Updater Add-in that includes a patient/study management client that allows users to move, merge, and update patient information using DICOM communications.
  • Auto-Copy Add-in that automatically routes retrieved DICOM image data to multiple storage locations.
  • Gateway Add-in that acts as a query/retrieve proxy, automatically relaying a single query/retrieve message to any number of specified external DICOM servers.
  • Forwarding Add-in that allows DICOM image data to be automatically forwarded to another PACS server immediately upon storage, or on any schedule.
  • Administrative options including setting permissions for both users and AE titles.
  • Full Source code provided for customization or branding with your own company logo.
Demo Name Source Code Path Description
Custom Storage Data Access Layer \Examples\Medical\DotNet\Tutorials\My.Medical.Storage.Configuration\fx

Provides a configuration for using the Sample Database for the LEAD Storage Server.

Demo Name Source Code Path Description
Custom Storage Data Access Layer \Examples\Medical\DotNet\Tutorials\My.Medical.Storage.DataAccessLayer\fx

Provides the SQL methods for using the Sample Database for the LEAD Storage Server.

See Also

Reference

Introduction

Getting Started (Guide to Example Programs)

Programming With LEADTOOLS Logging

Assembly Overview

Getting Started - All Topics

Overview

PACS Configuration Demo

PACS Framework

PACS Framework Diagram

Help Version 22.0.2023.2.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Logging Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.