Skip to content

@sora-soft/framework


@sora-soft/framework / LogScope

Abstract Class: LogScope<T>

Defined in: packages/framework/src/lib/context/scope/LogScope.ts:3

Extends

Extended by

Type Parameters

Type Parameter
T

Constructors

Constructor

ts
new LogScope<T>(id, store): LogScope<T>;

Defined in: packages/framework/src/lib/context/Scope.ts:6

Parameters

ParameterType
idstring
storeT

Returns

LogScope<T>

Inherited from

Scope.constructor

Properties

PropertyModifierTypeInherited fromDefined in
id_protectedstringScope.id_packages/framework/src/lib/context/Scope.ts:37
stack_protectedstringScope.stack_packages/framework/src/lib/context/Scope.ts:39
store_protectedTScope.store_packages/framework/src/lib/context/Scope.ts:38

Accessors

id

Get Signature

ts
get id(): string;

Defined in: packages/framework/src/lib/context/Scope.ts:33

Returns

string

Inherited from

Scope.id


logCategory

Get Signature

ts
get abstract logCategory(): string;

Defined in: packages/framework/src/lib/context/scope/LogScope.ts:4

Returns

string


stack

Get Signature

ts
get stack(): string;

Defined in: packages/framework/src/lib/context/Scope.ts:29

Returns

string

Inherited from

Scope.stack


store

Get Signature

ts
get store(): T;

Defined in: packages/framework/src/lib/context/Scope.ts:25

Returns

T

Inherited from

Scope.store

Methods

setStore()

ts
setStore(data): void;

Defined in: packages/framework/src/lib/context/Scope.ts:21

Parameters

ParameterType
dataT

Returns

void

Inherited from

Scope.setStore

基于 WTFPL 许可发布