Search Results for

    Show / Hide Table of Contents

    Namespace actionETL.Logging

    Contains the logging facade and interfaces. Also see Logging.

    Classes

    ALog

    A class that is used to log diagnostic messages to the underlying logging framework. WorkerSystem, all workers, and all input and output ports have a Logger property with an ALog instance initialized with the corresponding Locator string as its name.

    This Logger property is the normal way for workers and the library user to log messages. ALog logger instances can also be created outside any worker system by using NLogFactory.

    ALogCategory

    String constants for use with the ALog category parameter, which is a string that classifies log messages. The format is "TopCategory.Subcategory1.Subcategory2", where the number of sub categories is zero or more. This particular format is very useful, since many log viewers can parse and group log messages based on this format.

    Workers can create their own categories using this format, but should use these string constants where appropriate.

    NullLogFactory

    An actionETL 'null' logging factory implementation. Inject it into a worker system to discards all logging events.

    Interfaces

    IALogFactory

    The interface for an actionETL logging factory. This, and IALogService, must be implemented to inject a custom logging framework into a worker system. It allows flushing log messages, and acquiring new loggers.

    IALogService

    The interface for an actionETL logging service. This, and IALogFactory, must be implemented to inject a custom logging framework into a worker system. Otherwise not used directly by the library user.

    Enums

    ALogLevel

    Log levels for the ALog logging system.

    Delegates

    ALogMessageCallback

    Returns a log message. Only called if the log level is enabled and the logging configuration results in the message being logged. This can be used to only create expensive logging method arguments if the message is actually logged.

    In This Article
    Back to top Copyright © 2023 Envobi Ltd