Tutorial: Application.setAppLogUsername

Application.setAppLogUsername

Sets a username that correlates the application's log with the application log manager.

Example

async function setAppLogUser() {
    const app = await fin.Application.getCurrent();
    return await app.setAppLogUsername('username');
}

setAppLogUser().then(() => console.log('Success')).catch(err => console.log(err));