-
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.
added log wrappers and included it in Indexer requests
- Loading branch information
1 parent
5ec448f
commit 043735c
Showing
3 changed files
with
30 additions
and
3 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
6 changes: 6 additions & 0 deletions
6
Plugins/SequencePlugin/Source/SequencePlugin/Private/Util/Log.cpp
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Copyright 2024 Horizon Blockchain Games Inc. All rights reserved. | ||
|
||
#include "Log.h" | ||
|
||
DEFINE_LOG_CATEGORY(LogSequence); | ||
DEFINE_LOG_CATEGORY(LogSequenceEditor); |
13 changes: 13 additions & 0 deletions
13
Plugins/SequencePlugin/Source/SequencePlugin/Private/Util/Log.h
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright 2024 Horizon Blockchain Games Inc. All rights reserved. | ||
#pragma once | ||
|
||
DECLARE_LOG_CATEGORY_EXTERN(LogSequence, Log, All); | ||
DECLARE_LOG_CATEGORY_EXTERN(LogSequenceEditor, Log, All); | ||
|
||
#define SEQ_LOG(Verbosity, Format, ...) UE_LOG(LogSequence, Verbosity, Format, ##__VA_ARGS__) | ||
|
||
#if WITH_EDITOR | ||
#define SEQ_LOG_EDITOR(Verbosity, Format, ...) UE_LOG(LogSequenceEditor, Verbosity, Format, ##__VA_ARGS__) | ||
#else | ||
#define SEQ_LOG_EDITOR(Verbosity, Format, ...) do {} while (0) | ||
#endif |