FrappeLogManager class

Class for handling Frappe-specific Logs

Inheritance
Implemented types

Constructors

FrappeLogManager(RenovationConfig config)

Properties

config RenovationConfig
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearCache() → void
Clears the cache or residual objects.
override
error({String? content, String? title, List<String>? tags}) Future<RequestResponse<FrappeLog?>>
Basic Logging
getCore() Renovation
Gets the reference to the Renovation instance
inherited
getHostUrl() String
Returns the configured host URL towards the backend
inherited
handleError(String? errorId, ErrorDetail error) → ErrorDetail
Returns the ErrorDetail after manipulating an existing one.
info({String? content, String? title, List<String>? tags}) Future<RequestResponse<FrappeLog?>>
Basic Logging
invokeLogger({String? cmd, String? content, String? title, List<String>? tags, String? request, String? response}) Future<RequestResponse<FrappeLog?>>
A wrapper fn for backend endpoint
logRequest({RequestResponse? r, List<String>? tags}) Future<RequestResponse<FrappeLog?>>
Log client side request
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDefaultTags(List<String> tags) → void
Use this function to set the basic set of tags to be set for the logs raised from the client side
toString() String
A string representation of this object.
inherited
warning({String? content, String? title, List<String>? tags}) Future<RequestResponse<FrappeLog?>>
Basic Logging

Operators

operator ==(Object other) bool
The equality operator.
inherited