Class: MaximLogsAPI
Defined in: src/lib/apis/logs.ts:5Extends
MaximAPI
Constructors
Constructor
new MaximLogsAPI(Defined in: src/lib/apis/logs.ts:6baseUrl,apiKey):MaximLogsAPI
Parameters
baseUrl
string
apiKey
string
Returns
MaximLogsAPI
Overrides
MaximAPI.constructor
Methods
checkAttachEvaluators()
checkAttachEvaluators(Defined in: src/lib/apis/logs.ts:26repositoryId,evaluatorNames):Promise<{canAttach:boolean;evaluatorsToIgnore?:string[];message?:string; }>
Parameters
repositoryId
string
evaluatorNames
string[]
Returns
Promise<{ canAttach: boolean; evaluatorsToIgnore?: string[]; message?: string; }>
destroyAgents()
destroyAgents(): void
Defined in: src/lib/apis/maxim.ts:98
Destroys the HTTP and HTTPS agents, closing all sockets
Returns
void
Inherited from
MaximAPI.destroyAgents
doesLogRepositoryExist()
doesLogRepositoryExist(Defined in: src/lib/apis/logs.ts:10loggerId):Promise<boolean>
Parameters
loggerId
string
Returns
Promise<boolean>
pushLogs()
pushLogs(Defined in: src/lib/apis/logs.ts:55repositoryId,logs):Promise<void>
Parameters
repositoryId
string
logs
string
Returns
Promise<void>