18 lines
469 B
C#
18 lines
469 B
C#
namespace PkmnLib.Dynamic.AI;
|
|
|
|
/// <summary>
|
|
/// Logging implementation for AI
|
|
/// </summary>
|
|
public static class AILogging
|
|
{
|
|
/// <summary>
|
|
/// The actual function called by the logging.
|
|
/// </summary>
|
|
public static Action<string> LogHandler { get; set; } = _ => { };
|
|
|
|
/// <summary>
|
|
/// Forwarding function.
|
|
/// </summary>
|
|
/// <param name="message"></param>
|
|
public static void LogInformation(string message) => LogHandler(message);
|
|
} |