mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-16 21:07:43 +01:00
add basic console system for debugging
This commit is contained in:
parent
e6da98646a
commit
16f0fb76f4
8 changed files with 634 additions and 18 deletions
|
|
@ -141,8 +141,15 @@ public class ModuleLog
|
|||
public void Fatal(Exception? exception, string messageTemplate, params object?[] values)
|
||||
=> this.WriteLog(LogEventLevel.Fatal, messageTemplate, exception, values);
|
||||
|
||||
/// <summary>
|
||||
/// Log a templated message to the in-game debug log.
|
||||
/// </summary>
|
||||
/// <param name="level">The log level to log with.</param>
|
||||
/// <param name="messageTemplate">The message template to log.</param>
|
||||
/// <param name="exception">The exception to log.</param>
|
||||
/// <param name="values">Values to log.</param>
|
||||
[MessageTemplateFormatMethod("messageTemplate")]
|
||||
private void WriteLog(
|
||||
public void WriteLog(
|
||||
LogEventLevel level, string messageTemplate, Exception? exception = null, params object?[] values)
|
||||
{
|
||||
// FIXME: Eventually, the `pluginName` tag should be removed from here and moved over to the actual log
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue