This namespace contains everything related to the logging targets. In the namespace `targets`, you will
find:
- namespace helpers
- This nested namespace includes the following helpers used for all in-house targets:
-
BaseTargetHelper
- This class contains the multi-threading support functions and flush policy
options that Serenity's targets use.
This class is composed from the following classes:
-
FileHelper
- This class aids Serenity's targets in file related operations.
This includes things such as:
- Opening and closing the file
- Writing to the buffer
- Setting the file buffer size
- Flushing the buffer to the file
- Controlling the background flush thread
- Renaming the log file
This class is composed from the
following classes:
- TargetBase
- Base class all targets inherit from.
This class is composed from the following classes:
- ConsoleTarget
- Class that handles terminal logging.
This class inherits from the following:
and is composed from the following:
- FileTarget
- Class that handles logging to a singular file.
This class inherits from the following:
- RotatingTarget
- Class that handles logging to multiple files and under conditions based on user
settings.
This class inherits from the following:
and is composed of the following:
- RotatingDaylightCache
- Class that handles updating the background thread that runs when a time setting is
used with RotatingTarget