mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:50:43 -05:00
- Implement the models/helpers required to send console messages to the server console - Implement sending plugin errors on startup to the server console - Remove an unused variable and incorrect comment from PluginErrorNotifierPatch Example output: ![Example](https://i.imgur.com/c0XBYLm.png) Depends on changes in SPT-AKI/Server#160 Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Reviewed-on: SPT-AKI/Modules#35 Reviewed-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com> Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com> Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
16 lines
440 B
C#
16 lines
440 B
C#
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
using System.ComponentModel;
|
|
|
|
namespace Aki.Common.Models.Logging
|
|
{
|
|
public class ServerLogRequest
|
|
{
|
|
public string Source { get; set; }
|
|
public EServerLogLevel Level { get; set; }
|
|
public string Message { get; set; }
|
|
public EServerLogTextColor Color { get; set; }
|
|
public EServerLogBackgroundColor BackgroundColor { get; set; }
|
|
}
|
|
}
|