// File: /workspace/github_cpp_makefile_star2_O3/WilstonOreo[P]Log/logtest.cpp
// Function: main
int main(int ac, char* av[])
{
	LOG_MSG << "LogTestApp. -- written by Wilston Oreo.";

#ifdef TEST_THREADS

	srand ( time(NULL) );

	LOG_MSG_(1) << "Startup";  
	boost::thread thread1(threadLog);
	boost::thread thread2(threadLog);
	boost::thread thread3(threadLog);
	boost::thread thread4(threadLog);
	LOG_MSG_(1) << "Waiting for threads...";

	thread1.join();
	thread2.join();
	thread3.join();
	thread4.join();

#endif

	LOG_MSG_(1) << "Done";

	LOG->level(2);

	LOG_MSG_(1) << fmt("Log level: %") % LOG->level();
	LOG_WRN << fmt("Warning %") % 3;
	LOG_MSG_(3);
	LOG_MSG_(4);
	LOG_ERR << "ERROR";

	return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x310, %rsp            # imm = 0x310
callq 0x2f34
movq %rax, %rbx
leaq 0x2c0(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x2bfd(%rip), %rsi      # 0x5004
leaq 0x2c01(%rip), %rdx      # 0x500f
leaq 0x2b0(%rsp), %rdi
callq 0x3bf4
leaq 0x1e0(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2be2(%rip), %rsi      # 0x5010
leaq 0x2bdf(%rip), %rdx      # 0x5014
leaq 0x1d0(%rsp), %rdi
callq 0x3bf4
leaq 0x1c0(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x2bbf(%rip), %rsi      # 0x5015
leaq 0x2bbb(%rip), %rdx      # 0x5018
leaq 0x1b0(%rsp), %rdi
callq 0x3bf4
leaq 0x2b0(%rsp), %rsi
leaq 0x1d0(%rsp), %rdx
leaq 0x1b0(%rsp), %r9
movq %rbx, %rdi
movl $0x3d, %ecx
xorl %r8d, %r8d
callq 0x2f7a
movl 0x4(%rax), %ecx
cmpl (%rax), %ecx
jg 0x24a8
leaq 0x2b79(%rip), %rsi      # 0x5019
movq %rax, %rdi
callq 0x4200
movq 0x1b0(%rsp), %rdi
cmpq %r12, %rdi
je 0x24c5
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x1d0(%rsp), %rdi
cmpq %r15, %rdi
je 0x24e2
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x2b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x24ff
movq 0x2c0(%rsp), %rsi
incq %rsi
callq 0x2190
callq 0x2f34
movq %rax, %rbx
leaq 0x2a0(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x2aea(%rip), %rsi      # 0x5004
leaq 0x2aee(%rip), %rdx      # 0x500f
leaq 0x290(%rsp), %rdi
callq 0x3bf4
leaq 0x1a0(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2acf(%rip), %rsi      # 0x5010
leaq 0x2acc(%rip), %rdx      # 0x5014
leaq 0x190(%rsp), %rdi
callq 0x3bf4
leaq 0x180(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x2aac(%rip), %rsi      # 0x5015
leaq 0x2aa8(%rip), %rdx      # 0x5018
leaq 0x170(%rsp), %rdi
callq 0x3bf4
leaq 0x290(%rsp), %rsi
leaq 0x190(%rsp), %rdx
leaq 0x170(%rsp), %r9
movq %rbx, %rdi
movl $0x51, %ecx
movl $0x1, %r8d
callq 0x2f7a
movl 0x4(%rax), %ecx
cmpl (%rax), %ecx
jg 0x25be
leaq 0x2a8b(%rip), %rsi      # 0x5041
movq %rax, %rdi
callq 0x42ee
movq 0x170(%rsp), %rdi
cmpq %r12, %rdi
je 0x25db
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x190(%rsp), %rdi
cmpq %r15, %rdi
je 0x25f8
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x290(%rsp), %rdi
cmpq %r14, %rdi
je 0x2615
movq 0x2a0(%rsp), %rsi
incq %rsi
callq 0x2190
callq 0x2f34
movl $0x2, (%rax)
callq 0x2f34
movq %rax, %rbx
leaq 0x280(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x29c9(%rip), %rsi      # 0x5004
leaq 0x29cd(%rip), %rdx      # 0x500f
leaq 0x270(%rsp), %rdi
callq 0x3bf4
leaq 0x160(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x29ae(%rip), %rsi      # 0x5010
leaq 0x29ab(%rip), %rdx      # 0x5014
leaq 0x150(%rsp), %rdi
callq 0x3bf4
leaq 0x140(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x298c(%rip), %rsi      # 0x5015
leaq 0x2988(%rip), %rdx      # 0x5018
leaq 0x130(%rsp), %rdi
callq 0x3bf4
leaq 0x270(%rsp), %rsi
leaq 0x150(%rsp), %rdx
leaq 0x130(%rsp), %r9
movq %rbx, %rdi
movl $0x55, %ecx
movl $0x1, %r8d
callq 0x2f7a
movq %rax, %rbx
leaq 0x2974(%rip), %rsi      # 0x5046
leaq 0x2d0(%rsp), %rdi
callq 0x309a
callq 0x2f34
movl (%rax), %eax
leaq 0xc(%rsp), %rsi
movl %eax, (%rsi)
leaq 0x2d0(%rsp), %rdi
callq 0x30fe
movl 0x4(%rbx), %ecx
cmpl (%rbx), %ecx
jg 0x2736
leaq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x3d66
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x3c8a
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2736
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2190
leaq 0x2f0(%rsp), %rbx
movq %rbx, %rdi
callq 0x3f16
movq -0x20(%rbx), %rdi
leaq 0x2e0(%rsp), %r12
cmpq %r12, %rdi
je 0x2767
movq 0x2e0(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x130(%rsp), %rdi
cmpq %r13, %rdi
je 0x2784
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x150(%rsp), %rdi
cmpq %r15, %rdi
je 0x27a1
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x270(%rsp), %rdi
cmpq %r14, %rdi
je 0x27be
movq 0x280(%rsp), %rsi
incq %rsi
callq 0x2190
callq 0x2f34
movq %rax, %rbx
leaq 0x260(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x282b(%rip), %rsi      # 0x5004
leaq 0x282f(%rip), %rdx      # 0x500f
leaq 0x250(%rsp), %rdi
callq 0x3bf4
leaq 0x120(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2810(%rip), %rsi      # 0x5010
leaq 0x280d(%rip), %rdx      # 0x5014
leaq 0x110(%rsp), %rdi
callq 0x3bf4
leaq 0x100(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x282c(%rip), %rsi      # 0x5053
leaq 0x2828(%rip), %rdx      # 0x5056
leaq 0xf0(%rsp), %rdi
callq 0x3bf4
leaq 0x250(%rsp), %rsi
leaq 0x110(%rsp), %rdx
leaq 0xf0(%rsp), %r9
movq %rbx, %rdi
movl $0x56, %ecx
xorl %r8d, %r8d
callq 0x2f7a
movq %rax, %rbx
leaq 0x27ea(%rip), %rsi      # 0x5057
leaq 0x2d0(%rsp), %rdi
callq 0x309a
leaq 0xc(%rsp), %rsi
movl $0x3, (%rsi)
leaq 0x2d0(%rsp), %rdi
callq 0x30fe
movl 0x4(%rbx), %ecx
cmpl (%rbx), %ecx
jg 0x28ce
leaq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x3d66
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x3c8a
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x28ce
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2190
leaq 0x2f0(%rsp), %rbx
movq %rbx, %rdi
callq 0x3f16
movq -0x20(%rbx), %rdi
cmpq %r12, %rdi
je 0x28f7
movq 0x2e0(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0xf0(%rsp), %rdi
cmpq %r13, %rdi
je 0x2914
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x110(%rsp), %rdi
cmpq %r15, %rdi
je 0x2931
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x250(%rsp), %rdi
cmpq %r14, %rdi
je 0x294e
movq 0x260(%rsp), %rsi
incq %rsi
callq 0x2190
callq 0x2f34
movq %rax, %rbx
leaq 0x240(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x269b(%rip), %rsi      # 0x5004
leaq 0x269f(%rip), %rdx      # 0x500f
leaq 0x230(%rsp), %rdi
callq 0x3bf4
leaq 0xe0(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2680(%rip), %rsi      # 0x5010
leaq 0x267d(%rip), %rdx      # 0x5014
leaq 0xd0(%rsp), %rdi
callq 0x3bf4
leaq 0xc0(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x265d(%rip), %rsi      # 0x5015
leaq 0x2659(%rip), %rdx      # 0x5018
leaq 0xb0(%rsp), %rdi
callq 0x3bf4
leaq 0x230(%rsp), %rsi
leaq 0xd0(%rsp), %rdx
leaq 0xb0(%rsp), %r9
movq %rbx, %rdi
movl $0x57, %ecx
movl $0x3, %r8d
callq 0x2f7a
movq 0xb0(%rsp), %rdi
cmpq %r12, %rdi
je 0x2a14
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0xd0(%rsp), %rdi
cmpq %r15, %rdi
je 0x2a31
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x230(%rsp), %rdi
cmpq %r14, %rdi
je 0x2a4e
movq 0x240(%rsp), %rsi
incq %rsi
callq 0x2190
callq 0x2f34
movq %rax, %rbx
leaq 0x220(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x259b(%rip), %rsi      # 0x5004
leaq 0x259f(%rip), %rdx      # 0x500f
leaq 0x210(%rsp), %rdi
callq 0x3bf4
leaq 0xa0(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2580(%rip), %rsi      # 0x5010
leaq 0x257d(%rip), %rdx      # 0x5014
leaq 0x90(%rsp), %rdi
callq 0x3bf4
leaq 0x80(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x255d(%rip), %rsi      # 0x5015
leaq 0x2559(%rip), %rdx      # 0x5018
leaq 0x70(%rsp), %rdi
callq 0x3bf4
leaq 0x210(%rsp), %rsi
leaq 0x90(%rsp), %rdx
leaq 0x70(%rsp), %r9
movq %rbx, %rdi
movl $0x58, %ecx
movl $0x4, %r8d
callq 0x2f7a
movq 0x70(%rsp), %rdi
cmpq %r12, %rdi
je 0x2b0b
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x2b28
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x210(%rsp), %rdi
cmpq %r14, %rdi
je 0x2b45
movq 0x220(%rsp), %rsi
incq %rsi
callq 0x2190
callq 0x2f34
movq %rax, %rbx
leaq 0x200(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x24a4(%rip), %rsi      # 0x5004
leaq 0x24a8(%rip), %rdx      # 0x500f
leaq 0x1f0(%rsp), %rdi
callq 0x3bf4
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x248c(%rip), %rsi      # 0x5010
leaq 0x2489(%rip), %rdx      # 0x5014
leaq 0x50(%rsp), %rdi
callq 0x3bf4
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x24bb(%rip), %rsi      # 0x5061
leaq 0x24b7(%rip), %rdx      # 0x5064
leaq 0x30(%rsp), %rdi
callq 0x3bf4
leaq 0x1f0(%rsp), %rsi
leaq 0x50(%rsp), %rdx
leaq 0x30(%rsp), %r9
movq %rbx, %rdi
movl $0x59, %ecx
xorl %r8d, %r8d
callq 0x2f7a
movl 0x4(%rax), %ecx
cmpl (%rax), %ecx
jg 0x2bef
leaq 0x247e(%rip), %rsi      # 0x5065
movq %rax, %rdi
callq 0x43dc
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x2c06
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x2c1d
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x1f0(%rsp), %rdi
cmpq %r14, %rdi
je 0x2c3a
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x2190
xorl %eax, %eax
addq $0x310, %rsp            # imm = 0x310
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2de5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x2de5
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2ecd
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x2ecd
movq %rax, %rbx
jmp 0x2dbe
movq %rax, %rbx
jmp 0x2dd5
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r12, %rdi
je 0x2ccd
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x2ccd
movq %rax, %rbx
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x2cef
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x2cef
movq %rax, %rbx
movq 0x210(%rsp), %rdi
jmp 0x2f1c
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
cmpq %r12, %rdi
je 0x2d21
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x2d21
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
cmpq %r15, %rdi
je 0x2d43
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x2d43
movq %rax, %rbx
movq 0x230(%rsp), %rdi
jmp 0x2f1c
jmp 0x2d52
movq %rax, %rbx
jmp 0x2df2
movq %rax, %rbx
jmp 0x2e0f
movq %rax, %rbx
jmp 0x2e2c
jmp 0x2d6c
movq %rax, %rbx
jmp 0x2eda
movq %rax, %rbx
jmp 0x2ef7
movq %rax, %rbx
jmp 0x2f14
movq %rax, %rbx
jmp 0x2e59
movq %rax, %rbx
jmp 0x2e76
movq %rax, %rbx
jmp 0x2ea3
movq %rax, %rbx
jmp 0x2ec0
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x2dbe
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x2dd5
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x1f0(%rsp), %rdi
jmp 0x2f1c
movq %rax, %rbx
leaq 0x2d0(%rsp), %rdi
callq 0x31d0
movq 0xf0(%rsp), %rdi
cmpq %r13, %rdi
je 0x2e0f
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x110(%rsp), %rdi
cmpq %r15, %rdi
je 0x2e2c
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x250(%rsp), %rdi
jmp 0x2f1c
movq %rax, %rbx
movq 0x170(%rsp), %rdi
cmpq %r12, %rdi
je 0x2e59
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x190(%rsp), %rdi
cmpq %r15, %rdi
je 0x2e76
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x290(%rsp), %rdi
jmp 0x2f1c
movq %rax, %rbx
movq 0x1b0(%rsp), %rdi
cmpq %r12, %rdi
je 0x2ea3
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x1d0(%rsp), %rdi
cmpq %r15, %rdi
je 0x2ec0
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x2b0(%rsp), %rdi
jmp 0x2f1c
movq %rax, %rbx
leaq 0x2d0(%rsp), %rdi
callq 0x31d0
movq 0x130(%rsp), %rdi
cmpq %r13, %rdi
je 0x2ef7
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x150(%rsp), %rdi
cmpq %r15, %rdi
je 0x2f14
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x270(%rsp), %rdi
cmpq %r14, %rdi
je 0x2f2c
movq (%r14), %rsi
incq %rsi
callq 0x2190
movq %rbx, %rdi
callq 0x2210