-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from nowsprinting/fix/logger
Fix FileLogger doesn't work when Autopilot is stopped and re-run
- Loading branch information
Showing
9 changed files
with
13 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,26 @@ | ||
// Copyright (c) 2023-2024 DeNA Co., Ltd. | ||
// This software is released under the MIT License. | ||
|
||
using System; | ||
using UnityEngine; | ||
|
||
namespace DeNA.Anjin.Loggers | ||
{ | ||
/// <summary> | ||
/// Abstract logger settings used for autopilot. | ||
/// </summary> | ||
public abstract class AbstractLoggerAsset : ScriptableObject, IDisposable | ||
public abstract class AbstractLoggerAsset : ScriptableObject | ||
{ | ||
#if UNITY_EDITOR | ||
/// <summary> | ||
/// Description about this agent instance. | ||
/// </summary> | ||
[Multiline] public string description; | ||
[Multiline] | ||
public string description; | ||
#endif | ||
|
||
/// <summary> | ||
/// Logger implementation used for autopilot. | ||
/// </summary> | ||
public abstract ILogger Logger { get; } | ||
|
||
/// <inheritdoc /> | ||
public abstract void Dispose(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters