Search
Preparing search index...
The search index is not available
better-apis-workshop
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
better-apis-workshop
FakeUser/frameworks/Logger
Logger
Class Logger
description
Logger is just a very basic logging utility
Hierarchy
Logger
Implements
LoggerInterface
Index
Constructors
constructor
Properties
correlation
Id
user
Id
Methods
create
Log
error
log
warn
Constructors
constructor
new
Logger
(
)
:
Logger
Returns
Logger
Properties
Readonly
correlation
Id
correlation
Id
:
string
Readonly
user
Id
user
Id
:
string
Methods
Private
create
Log
create
Log
(
log
:
LogMessageInterface
)
:
{
correlationId
:
string
;
level
:
undefined
|
LogLevels
;
message
:
Message
;
timestamp
:
string
;
userId
:
string
}
Parameters
log:
LogMessageInterface
Returns
{
correlationId
:
string
;
level
:
undefined
|
LogLevels
;
message
:
Message
;
timestamp
:
string
;
userId
:
string
}
correlation
Id
:
string
level
:
undefined
|
LogLevels
message
:
Message
timestamp
:
string
user
Id
:
string
error
error
(
message
:
Message
)
:
void
Parameters
message:
Message
Returns
void
log
log
(
message
:
Message
)
:
void
Parameters
message:
Message
Returns
void
warn
warn
(
message
:
Message
)
:
void
Parameters
message:
Message
Returns
void
Modules
Fake
User/config/endpoints
Fake
User/contracts/
Api
Endpoints
Fake
User/contracts/
Cat
Api
Response
Fake
User/contracts/
Json
Placeholder
Response
Fake
User/contracts/
Logger
Interface
Fake
User/contracts/
Random
User
Response
Fake
User/controllers/
Fake
User
Controller
Fake
User/entities/
User
Fake
User/entities/logic/validators
Fake
User/frameworks/
Logger
Fake
User/frameworks/call
External
Fake
User/frameworks/user
Feature
Toggles
Fake
User/frameworks/user
Metadata
Fake
User/frameworks/validators
Fake
User/usecases/create
Fake
User
Fake
User/usecases/interactors/get
Data
Fake
User/usecases/interactors/get
Image
Fake
User
Basic
Feature
Toggles/config/toggles
Feature
Toggles/config/user
Permissions
Feature
Toggles/contracts/
Toggles
Feature
Toggles/controllers/
Auth
Controller
Feature
Toggles/controllers/
Feature
Toggles
Controller
Feature
Toggles/frameworks/validators
Feature
Toggles/usecases/get
User
Feature
Toggles
Logger
constructor
correlation
Id
user
Id
create
Log
error
log
warn
Generated using
TypeDoc
Logger is just a very basic logging utility