Logging back to its own namespace

This commit is contained in:
Matt Nadareski
2026-03-18 13:08:37 -04:00
parent 937869c1ad
commit 9b7e832e64
10 changed files with 13 additions and 13 deletions

View File

@@ -58,10 +58,6 @@ Extensions for `BinaryReader`, `byte[]`, and `Stream` to help with reading and w
This namespace also contains other various extensions that help with common functionality and safe access.
### `SabreTools.IO.Logging`
Logic for a logging system, including writing to console and textfile outputs. There are 4 possible log levels for logging statements to be invoked with. There is also a stopwatch implementation included for logging statements with automatic timespan tracking.
### `SabreTools.IO.Readers` and `SabreTools.IO.Writers`
Reading and writing support for the following file types:
@@ -80,6 +76,10 @@ File and stream implementations of common data transformations:
- Split by even/odd chunks or based on block size
- Convert data either by bit-swapping, byte-swapping, word-swapping, or word/byte-swapping
### `SabreTools.Logging`
Logic for a logging system, including writing to console and textfile outputs. There are 4 possible log levels for logging statements to be invoked with. There is also a stopwatch implementation included for logging statements with automatic timespan tracking.
### `SabreTools.Matching`
Classes designed to make matching contents and paths easier. These classes allow for both grouped and single matching as well as post-processing of matched information.

View File

@@ -1,4 +1,4 @@
using SabreTools.IO.Logging;
using SabreTools.Logging;
using Xunit;
namespace SabreTools.IO.Test.Logging

View File

@@ -1,4 +1,4 @@
using SabreTools.IO.Logging;
using SabreTools.Logging;
using Xunit;
namespace SabreTools.IO.Test.Logging

View File

@@ -1,5 +1,5 @@
using System;
using SabreTools.IO.Logging;
using SabreTools.Logging;
using Xunit;
namespace SabreTools.IO.Test.Logging

View File

@@ -1,4 +1,4 @@
namespace SabreTools.IO.Logging
namespace SabreTools.Logging
{
public static class Converters
{

View File

@@ -1,4 +1,4 @@
namespace SabreTools.IO.Logging
namespace SabreTools.Logging
{
/// <summary>
/// Severity of the logging statement

View File

@@ -1,6 +1,6 @@
using System;
namespace SabreTools.IO.Logging
namespace SabreTools.Logging
{
/// <summary>
/// Stopwatch class for keeping track of duration in the code

View File

@@ -1,6 +1,6 @@
using System;
namespace SabreTools.IO.Logging
namespace SabreTools.Logging
{
/// <summary>
/// Generic delegate type for log events

View File

@@ -1,6 +1,6 @@
using System;
namespace SabreTools.IO.Logging
namespace SabreTools.Logging
{
/// <summary>
/// Per-class logging

View File

@@ -2,7 +2,7 @@
using System.IO;
using System.Text;
namespace SabreTools.IO.Logging
namespace SabreTools.Logging
{
/// <summary>
/// Internal logging implementation