Use tabs, for the love of god.

This commit is contained in:
Lucas Nicodemus 2015-02-28 18:43:25 -07:00
parent 260ba9c77c
commit 7d803ac2b1

View file

@ -32,14 +32,14 @@ namespace TShockAPI
All = 31 All = 31
} }
/// <summary> /// <summary>
/// Logging interface /// Logging interface
/// </summary> /// </summary>
public interface ILog public interface ILog
{ {
/// <summary> /// <summary>
/// Log name /// Log name
/// </summary> /// </summary>
string Name { get; } string Name { get; }
/// <summary> /// <summary>
@ -52,19 +52,21 @@ namespace TShockAPI
/// Writes an informative string to the log and to the console. /// Writes an informative string to the log and to the console.
/// </summary> /// </summary>
/// <param name="message">The message to be written.</param> /// <param name="message">The message to be written.</param>
void ConsoleInfo(string message); void ConsoleInfo(string message);
/// <summary> /// <summary>
/// Writes an informative string to the log and to the console. /// Writes an informative string to the log and to the console.
/// </summary> /// </summary>
/// <param name="message">The format of the message to be written.</param> /// <param name="message">The format of the message to be written.</param>
/// <param name="args">The format arguments.</param> /// <param name="args">The format arguments.</param>
void ConsoleInfo(string format, params object[] args); void ConsoleInfo(string format, params object[] args);
/// <summary> /// <summary>
/// Writes an error message to the log and to the console. /// Writes an error message to the log and to the console.
/// </summary> /// </summary>
/// <param name="message">The message to be written.</param> /// <param name="message">The message to be written.</param>
void ConsoleError(string message); void ConsoleError(string message);
/// <summary> /// <summary>
/// Writes an error message to the log and to the console. /// Writes an error message to the log and to the console.
/// </summary> /// </summary>
@ -77,6 +79,7 @@ namespace TShockAPI
/// </summary> /// </summary>
/// <param name="message">The message to be written.</param> /// <param name="message">The message to be written.</param>
void Warn(string message); void Warn(string message);
/// <summary> /// <summary>
/// Writes a warning to the log. /// Writes a warning to the log.
/// </summary> /// </summary>
@ -101,6 +104,7 @@ namespace TShockAPI
/// </summary> /// </summary>
/// <param name="message">The message to be written.</param> /// <param name="message">The message to be written.</param>
void Info(string message); void Info(string message);
/// <summary> /// <summary>
/// Writes an informative string to the log. /// Writes an informative string to the log.
/// </summary> /// </summary>
@ -113,6 +117,7 @@ namespace TShockAPI
/// </summary> /// </summary>
/// <param name="message">The message to be written.</param> /// <param name="message">The message to be written.</param>
void Data(string message); void Data(string message);
/// <summary> /// <summary>
/// Writes data to the log. /// Writes data to the log.
/// </summary> /// </summary>
@ -120,11 +125,11 @@ namespace TShockAPI
/// <param name="args">The format arguments.</param> /// <param name="args">The format arguments.</param>
void Data(string format, params object[] args); void Data(string format, params object[] args);
/// <summary> /// <summary>
/// Writes a message to the log /// Writes a message to the log
/// </summary> /// </summary>
/// <param name="message">Message to write</param> /// <param name="message">Message to write</param>
/// <param name="level">LogLevel assosciated with the message</param> /// <param name="level">LogLevel assosciated with the message</param>
void Write(string message, LogLevel level); void Write(string message, LogLevel level);
/// <summary> /// <summary>