Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ILogger.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 namespace SiliconStudio.Core.Diagnostics
4 {
5  /// <summary>
6  /// Interface for logging.
7  /// </summary>
8  public interface ILogger
9  {
10  /// <summary>
11  /// Gets the module this logger refers to.
12  /// </summary>
13  /// <value>The module.</value>
14  string Module { get; }
15 
16  /// <summary>
17  /// Logs the specified log message.
18  /// </summary>
19  /// <param name="logMessage">The log message.</param>
20  void Log(ILogMessage logMessage);
21  }
22 }
The base interface for log messages used by the logging infrastructure.
Definition: ILogMessage.cs:8
Output message to log right away.
Interface for logging.
Definition: ILogger.cs:8