forked from mystiq/hydrogen-web
Move type LogCallback to LogItem
This commit is contained in:
parent
2a5d30d749
commit
ba4d5453a2
1 changed files with 1 additions and 2 deletions
|
@ -15,11 +15,10 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {LogItem, LabelOrValues, FilterCreator} from "./LogItem";
|
import {LogItem, LabelOrValues, FilterCreator, LogCallback} from "./LogItem";
|
||||||
import {LogLevel, LogFilter} from "./LogFilter.js";
|
import {LogLevel, LogFilter} from "./LogFilter.js";
|
||||||
import {Platform} from "../platform/web/Platform.js";
|
import {Platform} from "../platform/web/Platform.js";
|
||||||
|
|
||||||
type LogCallback = (item: LogItem) => Promise<unknown> | undefined;
|
|
||||||
|
|
||||||
export abstract class BaseLogger {
|
export abstract class BaseLogger {
|
||||||
protected _openItems: Set<LogItem> = new Set();
|
protected _openItems: Set<LogItem> = new Set();
|
||||||
|
|
Loading…
Reference in a new issue