Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.97 KB

File metadata and controls

38 lines (29 loc) · 1.97 KB

ram-api.js


Discord server npm version npm downloads Tests status

Back to ReadME

Execute Examples

import \* as ramapi from "ram-api.js"; // typescript
const ramapi = require("ram-api.js"); // javascript

new ramapi.ExecuteLogger("Test Logger").infoAsync("testing without a process name")
new ramapi.ExecuteLogger("Test Logger").infoAsync("testing with a process name", "Process")

new ramapi.ExecuteLogger("Test Logger").errorAsync("testing without a process name")
new ramapi.ExecuteLogger("Test Logger").errorAsync("testing with a process name", "Process")

new ramapi.ExecuteLogger("Test Logger").warnAsync("testing without a process name")
new ramapi.ExecuteLogger("Test Logger").warnAsync("testing with a process name", "Process")

//fatal will close your program when called useful in situations with fatal errors or errors youll like to close the program with

new ramapi.ExecuteLogger("Test Logger").fatalAsync("testing without a process name")
new ramapi.ExecuteLogger("Test Logger").fatalAsync("testing with a process name", "Process")