fixed some documentation inconsistencies

This commit is contained in:
Ellpeck 2020-07-23 14:03:25 +02:00
parent 80123b7748
commit ef63ac958c
3 changed files with 3 additions and 4 deletions

View file

@ -56,7 +56,9 @@ namespace ExtremelySimpleLogger {
} }
} }
/// <summary>
/// Disposes this sink, freeing all of the resources it uses. /// Disposes this sink, freeing all of the resources it uses.
/// </summary>
public override void Dispose() { public override void Dispose() {
base.Dispose(); base.Dispose();
if (!this.reopenOnWrite) if (!this.reopenOnWrite)

View file

@ -4,9 +4,7 @@ using System.Collections.Generic;
namespace ExtremelySimpleLogger { namespace ExtremelySimpleLogger {
/// <summary> /// <summary>
/// The implementation of a logger, which is a wrapper class around multiple logging <see cref="Sinks"/>. /// The implementation of a logger, which is a wrapper class around multiple logging <see cref="Sinks"/>.
///
/// To start logging with a logger, its <see cref="Sinks"/> need to be initialized. /// To start logging with a logger, its <see cref="Sinks"/> need to be initialized.
/// There are two default implementations: <see cref="FileSink"/>, <see cref="ConsoleSink"/> and <see cref="StringSink"/>.
/// </summary> /// </summary>
public class Logger : IDisposable { public class Logger : IDisposable {

View file

@ -4,7 +4,6 @@ using System.Text;
namespace ExtremelySimpleLogger { namespace ExtremelySimpleLogger {
/// <summary> /// <summary>
/// A sink is a way for log messages passed to a <see cref="Logger"/> to be processed in a certain way. /// A sink is a way for log messages passed to a <see cref="Logger"/> to be processed in a certain way.
/// By default, <see cref="FileSink"/> and <see cref="ConsoleSink"/> are available.
/// </summary> /// </summary>
public abstract class Sink : IDisposable { public abstract class Sink : IDisposable {