mirror of
https://github.com/SabreTools/SabreTools.IO.git
synced 2026-09-23 07:05:38 +00:00
Logging back to its own namespace
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using SabreTools.IO.Logging;
|
||||
using SabreTools.Logging;
|
||||
using Xunit;
|
||||
|
||||
namespace SabreTools.IO.Test.Logging
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using SabreTools.IO.Logging;
|
||||
using SabreTools.Logging;
|
||||
using Xunit;
|
||||
|
||||
namespace SabreTools.IO.Test.Logging
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System;
|
||||
using SabreTools.IO.Logging;
|
||||
using SabreTools.Logging;
|
||||
using Xunit;
|
||||
|
||||
namespace SabreTools.IO.Test.Logging
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace SabreTools.IO.Logging
|
||||
namespace SabreTools.Logging
|
||||
{
|
||||
public static class Converters
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace SabreTools.IO.Logging
|
||||
namespace SabreTools.Logging
|
||||
{
|
||||
/// <summary>
|
||||
/// Severity of the logging statement
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SabreTools.IO.Logging
|
||||
namespace SabreTools.Logging
|
||||
{
|
||||
/// <summary>
|
||||
/// Stopwatch class for keeping track of duration in the code
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SabreTools.IO.Logging
|
||||
namespace SabreTools.Logging
|
||||
{
|
||||
/// <summary>
|
||||
/// Generic delegate type for log events
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SabreTools.IO.Logging
|
||||
namespace SabreTools.Logging
|
||||
{
|
||||
/// <summary>
|
||||
/// Per-class logging
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace SabreTools.IO.Logging
|
||||
namespace SabreTools.Logging
|
||||
{
|
||||
/// <summary>
|
||||
/// Internal logging implementation
|
||||
Reference in New Issue
Block a user